home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•Games Parlour•
/
•Strategy•
/
Tablut ••••
/
Tablut
/
Tablut.rsrc
/
CODE_1.txt
< prev
next >
Wrap
Text File
|
1987-02-19
|
321KB
|
5,816 lines
# near model CODE resource
# jump table entries: 0-0 (1 of them)
label00000000:
00000000 41FA 4122 lea.l A0, [PC + 0x4122 /* 00004124, value 0x4E56FF70 */]
00000004 2B48 FA32 move.l [A5 - 0x5CE], A0
00000008 43ED F372 lea.l A1, [A5 - 0xC8E]
0000000C 2B49 FA36 move.l [A5 - 0x5CA], A1
00000010 42A7 clr.l -[A7]
00000012 4267 clr.w -[A7]
00000014 4EBA 37AC jsr [PC + 0x37AC /* 000037C2 */]
00000018 5C4F addq.w A7, 6
0000001A 4267 clr.w -[A7]
0000001C 4EBA 4026 jsr [PC + 0x4026 /* 00004044 */]
fn00000020:
00000020 4E56 FFDE link A6, -0x0022
00000024 48E7 0000 movem.l -[A7], <none>
00000028 362E 0008 move.w D3, [A6 + 0x8]
0000002C C6FC 001A mulu.w D3, 0x1A
00000030 45ED FA4A lea.l A2, [A5 - 0x5B6]
00000034 D68A add.l D3, A2
00000036 2D43 FFDE move.l [A6 - 0x22], D3
0000003A 426E FFF2 clr.w [A6 - 0xE]
0000003E 246E FFDE movea.l A2, [A6 - 0x22]
00000042 3D6A 000C FFFE move.w [A6 - 0x2], [A2 + 0xC]
00000048 246E FFDE movea.l A2, [A6 - 0x22]
0000004C 3D6A 000A FFFC move.w [A6 - 0x4], [A2 + 0xA]
00000052 246E FFDE movea.l A2, [A6 - 0x22]
00000056 2252 movea.l A1, [A2]
00000058 2F29 0008 move.l -[A7], [A1 + 0x8]
0000005C 486E FFFC pea.l [A6 - 0x4]
00000060 A87E syscall AddPt
00000062 246E 000A movea.l A2, [A6 + 0xA]
00000066 362E FFFE move.w D3, [A6 - 0x2]
0000006A 966A 0002 sub.w D3, [A2 + 0x2]
0000006E 3D43 FFEC move.w [A6 - 0x14], D3
00000072 246E 000A movea.l A2, [A6 + 0xA]
00000076 362E FFFC move.w D3, [A6 - 0x4]
0000007A 9652 sub.w D3, [A2]
0000007C 3D43 FFEA move.w [A6 - 0x16], D3
00000080 4A6D FCD4 tst.w [A5 - 0x32C]
00000084 6600 002A bne +0x2C /* 000000B0 */
00000088 486E FFF4 pea.l [A6 - 0xC]
0000008C 486E FFF8 pea.l [A6 - 0x8]
00000090 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000094 4EBA 03B2 jsr [PC + 0x3B2 /* 00000448 */]
00000098 DEFC 000A add.w A7, 0xA /* '\n' */
0000009C 486E FFF8 pea.l [A6 - 0x8]
000000A0 4EBA 1D9A jsr [PC + 0x1D9A /* 00001E3C */]
000000A4 584F addq.w A7, 4
000000A6 486E FFF4 pea.l [A6 - 0xC]
000000AA 4EBA 1D90 jsr [PC + 0x1D90 /* 00001E3C */]
000000AE 584F addq.w A7, 4
label000000B0:
000000B0 42A7 clr.l -[A7]
000000B2 A975 syscall TickCount
000000B4 201F move.l D0, [A7]+
000000B6 2D40 FFE2 move.l [A6 - 0x1E], D0
label000000BA:
000000BA 4267 clr.w -[A7]
000000BC A973 syscall StillDown
000000BE 101F move.b D0, [A7]+
000000C0 4A00 tst.b D0
000000C2 6700 011E beq +0x120 /* 000001E2 */
000000C6 486E FFE6 pea.l [A6 - 0x1A]
000000CA A972 syscall GetMouse
000000CC A9B4 syscall SystemTask
000000CE 42A7 clr.l -[A7]
000000D0 A975 syscall TickCount
000000D2 201F move.l D0, [A7]+
000000D4 B0AE FFE2 cmp.l D0, [A6 - 0x1E]
000000D8 6D00 0104 blt +0x106 /* 000001DE */
000000DC 58AE FFE2 addq.l [A6 - 0x1E], 4
000000E0 2F2E FFEA move.l -[A7], [A6 - 0x16]
000000E4 486E FFE6 pea.l [A6 - 0x1A]
000000E8 A87E syscall AddPt
000000EA 4A6D FCD4 tst.w [A5 - 0x32C]
000000EE 6600 00DC bne +0xDE /* 000001CC */
000000F2 362E FFFE move.w D3, [A6 - 0x2]
000000F6 966E FFE8 sub.w D3, [A6 - 0x18]
000000FA 3D43 FFF0 move.w [A6 - 0x10], D3
000000FE 362E FFFC move.w D3, [A6 - 0x4]
00000102 966E FFE6 sub.w D3, [A6 - 0x1A]
00000106 3D43 FFEE move.w [A6 - 0x12], D3
0000010A 0C6E 0000 FFF0 cmpi.w [A6 - 0x10], 0x0
00000110 6C00 0006 bge +0x8 /* 00000118 */
00000114 446E FFF0 neg.w [A6 - 0x10]
label00000118:
00000118 0C6E 0000 FFEE cmpi.w [A6 - 0x12], 0x0
0000011E 6C00 0006 bge +0x8 /* 00000126 */
00000122 446E FFEE neg.w [A6 - 0x12]
label00000126:
00000126 4A6E FFF2 tst.w [A6 - 0xE]
0000012A 6700 0014 beq +0x16 /* 00000140 */
0000012E 246E FFDE movea.l A2, [A6 - 0x22]
00000132 2252 movea.l A1, [A2]
00000134 362E FFEE move.w D3, [A6 - 0x12]
00000138 B669 0008 cmp.w D3, [A1 + 0x8]
0000013C 6F00 001C ble +0x1E /* 0000015A */
label00000140:
00000140 4A6E FFF2 tst.w [A6 - 0xE]
00000144 6600 0026 bne +0x28 /* 0000016C */
00000148 246E FFDE movea.l A2, [A6 - 0x22]
0000014C 2252 movea.l A1, [A2]
0000014E 362E FFF0 move.w D3, [A6 - 0x10]
00000152 B669 000A cmp.w D3, [A1 + 0xA]
00000156 6E00 0014 bgt +0x16 /* 0000016C */
label0000015A:
0000015A 362E FFEE move.w D3, [A6 - 0x12]
0000015E B66E FFF0 cmp.w D3, [A6 - 0x10]
00000162 5EC3 sgt D3
00000164 C67C 0001 and.w D3, 0x1
00000168 3D43 FFF2 move.w [A6 - 0xE], D3
label0000016C:
0000016C 4A6E FFF2 tst.w [A6 - 0xE]
00000170 6700 0030 beq +0x32 /* 000001A2 */
00000174 3D6E FFFE FFE8 move.w [A6 - 0x18], [A6 - 0x2]
0000017A 362E FFE6 move.w D3, [A6 - 0x1A]
0000017E B66E FFF4 cmp.w D3, [A6 - 0xC]
00000182 6F00 0008 ble +0xA /* 0000018C */
00000186 3D6E FFF4 FFE6 move.w [A6 - 0x1A], [A6 - 0xC]
label0000018C:
0000018C 362E FFE6 move.w D3, [A6 - 0x1A]
00000190 B66E FFF8 cmp.w D3, [A6 - 0x8]
00000194 6C00 0008 bge +0xA /* 0000019E */
00000198 3D6E FFF8 FFE6 move.w [A6 - 0x1A], [A6 - 0x8]
label0000019E:
0000019E 6000 002C bra +0x2E /* 000001CC */
label000001A2:
000001A2 3D6E FFFC FFE6 move.w [A6 - 0x1A], [A6 - 0x4]
000001A8 362E FFE8 move.w D3, [A6 - 0x18]
000001AC B66E FFF6 cmp.w D3, [A6 - 0xA]
000001B0 6F00 0008 ble +0xA /* 000001BA */
000001B4 3D6E FFF6 FFE8 move.w [A6 - 0x18], [A6 - 0xA]
label000001BA:
000001BA 362E FFE8 move.w D3, [A6 - 0x18]
000001BE B66E FFFA cmp.w D3, [A6 - 0x6]
000001C2 6C00 0008 bge +0xA /* 000001CC */
000001C6 3D6E FFFA FFE8 move.w [A6 - 0x18], [A6 - 0x6]
label000001CC:
000001CC 3F2E FFE6 move.w -[A7], [A6 - 0x1A]
000001D0 3F2E FFE8 move.w -[A7], [A6 - 0x18]
000001D4 3F2E 0008 move.w -[A7], [A6 + 0x8]
000001D8 4EBA 2E3E jsr [PC + 0x2E3E /* 00003018 */]
000001DC 5C4F addq.w A7, 6
label000001DE:
000001DE 6000 FEDA bra -0x124 /* 000000BA */
label000001E2:
000001E2 4CDF 0000 movem.l <none>, [A7]+
000001E6 4E5E unlink A6
000001E8 4E75 rts
fn000001EA:
000001EA 4E56 FFE6 link A6, -0x001A
000001EE 48E7 0000 movem.l -[A7], <none>
000001F2 362E 0008 move.w D3, [A6 + 0x8]
000001F6 C6FC 001A mulu.w D3, 0x1A
000001FA 45ED FA4A lea.l A2, [A5 - 0x5B6]
000001FE D68A add.l D3, A2
00000200 2D43 FFFC move.l [A6 - 0x4], D3
00000204 246E FFFC movea.l A2, [A6 - 0x4]
00000208 0C6A 0000 0010 cmpi.w [A2 + 0x10], 0x0
0000020E 6C00 0022 bge +0x24 /* 00000232 */
00000212 246E 000A movea.l A2, [A6 + 0xA]
00000216 3F12 move.w -[A7], [A2]
00000218 246E 000A movea.l A2, [A6 + 0xA]
0000021C 3F2A 0002 move.w -[A7], [A2 + 0x2]
00000220 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000224 4EBA 2DF2 jsr [PC + 0x2DF2 /* 00003018 */]
00000228 5C4F addq.w A7, 6
label0000022A:
0000022A 4CDF 0000 movem.l <none>, [A7]+
0000022E 4E5E unlink A6
00000230 4E75 rts
label00000232:
00000232 246E FFFC movea.l A2, [A6 - 0x4]
00000236 2252 movea.l A1, [A2]
00000238 362A 000C move.w D3, [A2 + 0xC]
0000023C D669 000A add.w D3, [A1 + 0xA]
00000240 3D43 FFF0 move.w [A6 - 0x10], D3
00000244 246E FFFC movea.l A2, [A6 - 0x4]
00000248 2252 movea.l A1, [A2]
0000024A 362A 000A move.w D3, [A2 + 0xA]
0000024E D669 0008 add.w D3, [A1 + 0x8]
00000252 3D43 FFEE move.w [A6 - 0x12], D3
00000256 246E 000A movea.l A2, [A6 + 0xA]
0000025A 362A 0002 move.w D3, [A2 + 0x2]
0000025E 966E FFF0 sub.w D3, [A6 - 0x10]
00000262 EB43 asl D3.w, 5
00000264 3D43 FFFA move.w [A6 - 0x6], D3
00000268 246E 000A movea.l A2, [A6 + 0xA]
0000026C 3612 move.w D3, [A2]
0000026E 966E FFEE sub.w D3, [A6 - 0x12]
00000272 EB43 asl D3.w, 5
00000274 3D43 FFF8 move.w [A6 - 0x8], D3
00000278 0C6E 0000 FFFA cmpi.w [A6 - 0x6], 0x0
0000027E 6C00 0010 bge +0x12 /* 00000290 */
00000282 362E FFFA move.w D3, [A6 - 0x6]
00000286 4443 neg.w D3
00000288 3D43 FFF6 move.w [A6 - 0xA], D3
0000028C 6000 0008 bra +0xA /* 00000296 */
label00000290:
00000290 3D6E FFFA FFF6 move.w [A6 - 0xA], [A6 - 0x6]
label00000296:
00000296 0C6E 0000 FFF8 cmpi.w [A6 - 0x8], 0x0
0000029C 6C00 0010 bge +0x12 /* 000002AE */
000002A0 362E FFF8 move.w D3, [A6 - 0x8]
000002A4 4443 neg.w D3
000002A6 3D43 FFF4 move.w [A6 - 0xC], D3
000002AA 6000 0008 bra +0xA /* 000002B4 */
label000002AE:
000002AE 3D6E FFF8 FFF4 move.w [A6 - 0xC], [A6 - 0x8]
label000002B4:
000002B4 362E FFF6 move.w D3, [A6 - 0xA]
000002B8 B66E FFF4 cmp.w D3, [A6 - 0xC]
000002BC 6F00 0014 ble +0x16 /* 000002D2 */
000002C0 362E FFF6 move.w D3, [A6 - 0xA]
000002C4 48C3 ext.l D3
000002C6 87FC 0500 divs.w D3, 0x500
000002CA 3D43 FFF2 move.w [A6 - 0xE], D3
000002CE 6000 0010 bra +0x12 /* 000002E0 */
label000002D2:
000002D2 362E FFF4 move.w D3, [A6 - 0xC]
000002D6 48C3 ext.l D3
000002D8 87FC 0500 divs.w D3, 0x500
000002DC 3D43 FFF2 move.w [A6 - 0xE], D3
label000002E0:
000002E0 0C6E 0000 FFF2 cmpi.w [A6 - 0xE], 0x0
000002E6 6F00 009C ble +0x9E /* 00000384 */
000002EA 362E FFFA move.w D3, [A6 - 0x6]
000002EE 48C3 ext.l D3
000002F0 87EE FFF2 divs.w D3, [A6 - 0xE]
000002F4 3D43 FFFA move.w [A6 - 0x6], D3
000002F8 362E FFF8 move.w D3, [A6 - 0x8]
000002FC 48C3 ext.l D3
000002FE 87EE FFF2 divs.w D3, [A6 - 0xE]
00000302 3D43 FFF8 move.w [A6 - 0x8], D3
00000306 362E FFF0 move.w D3, [A6 - 0x10]
0000030A C6FC 0020 mulu.w D3, 0x20 /* ' ' */
0000030E 3D43 FFF0 move.w [A6 - 0x10], D3
00000312 362E FFEE move.w D3, [A6 - 0x12]
00000316 C6FC 0020 mulu.w D3, 0x20 /* ' ' */
0000031A 3D43 FFEE move.w [A6 - 0x12], D3
0000031E 42A7 clr.l -[A7]
00000320 A975 syscall TickCount
00000322 201F move.l D0, [A7]+
00000324 2D40 FFE6 move.l [A6 - 0x1A], D0
label00000328:
00000328 0C6E 0000 FFF2 cmpi.w [A6 - 0xE], 0x0
0000032E 6F00 0054 ble +0x56 /* 00000384 */
00000332 A9B4 syscall SystemTask
00000334 42A7 clr.l -[A7]
00000336 A975 syscall TickCount
00000338 201F move.l D0, [A7]+
0000033A B0AE FFE6 cmp.l D0, [A6 - 0x1A]
0000033E 6D00 0042 blt +0x44 /* 00000382 */
00000342 58AE FFE6 addq.l [A6 - 0x1A], 4
00000346 536E FFF2 subq.w [A6 - 0xE], 1
0000034A 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000034E 486E FFEE pea.l [A6 - 0x12]
00000352 A87E syscall AddPt
00000354 362E FFF0 move.w D3, [A6 - 0x10]
00000358 48C3 ext.l D3
0000035A 87FC 0020 divs.w D3, 0x20 /* ' ' */
0000035E 3D43 FFEC move.w [A6 - 0x14], D3
00000362 362E FFEE move.w D3, [A6 - 0x12]
00000366 48C3 ext.l D3
00000368 87FC 0020 divs.w D3, 0x20 /* ' ' */
0000036C 3D43 FFEA move.w [A6 - 0x16], D3
00000370 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000374 3F2E FFEC move.w -[A7], [A6 - 0x14]
00000378 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000037C 4EBA 2C9A jsr [PC + 0x2C9A /* 00003018 */]
00000380 5C4F addq.w A7, 6
label00000382:
00000382 60A4 bra -0x5A /* 00000328 */
label00000384:
00000384 246E 000A movea.l A2, [A6 + 0xA]
00000388 3F12 move.w -[A7], [A2]
0000038A 246E 000A movea.l A2, [A6 + 0xA]
0000038E 3F2A 0002 move.w -[A7], [A2 + 0x2]
00000392 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000396 4EBA 2C80 jsr [PC + 0x2C80 /* 00003018 */]
0000039A 5C4F addq.w A7, 6
0000039C 6000 FE8C bra -0x172 /* 0000022A */
fn000003A0:
000003A0 4E56 FFEC link A6, -0x0014
000003A4 48E7 0000 movem.l -[A7], <none>
000003A8 42A7 clr.l -[A7]
000003AA A975 syscall TickCount
000003AC 201F move.l D0, [A7]+
000003AE 5280 addq.l D0, 1
000003B0 2D40 FFEC move.l [A6 - 0x14], D0
label000003B4:
000003B4 42A7 clr.l -[A7]
000003B6 A975 syscall TickCount
000003B8 201F move.l D0, [A7]+
000003BA B0AE FFEC cmp.l D0, [A6 - 0x14]
000003BE 6C00 0006 bge +0x8 /* 000003C6 */
000003C2 A9B4 syscall SystemTask
000003C4 60EE bra -0x10 /* 000003B4 */
label000003C6:
000003C6 06AE 0000 000F FFEC addi.l [A6 - 0x14], 0xF
000003CE 426E FFFE clr.w [A6 - 0x2]
label000003D2:
000003D2 0C6E 0003 FFFE cmpi.w [A6 - 0x2], 0x3
000003D8 6C00 0066 bge +0x68 /* 00000440 */
000003DC 426E FFFC clr.w [A6 - 0x4]
label000003E0:
000003E0 0C6E 0002 FFFC cmpi.w [A6 - 0x4], 0x2
000003E6 6C00 0052 bge +0x54 /* 0000043A */
000003EA 2D6E 0008 FFF8 move.l [A6 - 0x8], [A6 + 0x8]
label000003F0:
000003F0 246E FFF8 movea.l A2, [A6 - 0x8]
000003F4 B5EE 000C cmpa.l A2, [A6 + 0xC]
000003F8 6200 0020 bhi +0x22 /* 0000041A */
000003FC 486E FFF0 pea.l [A6 - 0x10]
00000400 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000404 4EBA 1B1E jsr [PC + 0x1B1E /* 00001F24 */]
00000408 504F addq.w A7, 8
0000040A 486E FFF0 pea.l [A6 - 0x10]
0000040E 4EBA 0936 jsr [PC + 0x936 /* 00000D46 */]
00000412 584F addq.w A7, 4
00000414 58AE FFF8 addq.l [A6 - 0x8], 4
00000418 60D6 bra -0x28 /* 000003F0 */
label0000041A:
0000041A 42A7 clr.l -[A7]
0000041C A975 syscall TickCount
0000041E 201F move.l D0, [A7]+
00000420 B0AE FFEC cmp.l D0, [A6 - 0x14]
00000424 6C00 0006 bge +0x8 /* 0000042C */
00000428 A9B4 syscall SystemTask
0000042A 60EE bra -0x10 /* 0000041A */
label0000042C:
0000042C 06AE 0000 000F FFEC addi.l [A6 - 0x14], 0xF
00000434 526E FFFC addq.w [A6 - 0x4], 1
00000438 60A6 bra -0x58 /* 000003E0 */
label0000043A:
0000043A 526E FFFE addq.w [A6 - 0x2], 1
0000043E 6092 bra -0x6C /* 000003D2 */
label00000440:
00000440 4CDF 0000 movem.l <none>, [A7]+
00000444 4E5E unlink A6
00000446 4E75 rts
fn00000448:
00000448 4E56 FFF8 link A6, -0x0008
0000044C 48E7 0000 movem.l -[A7], <none>
00000450 362E 0008 move.w D3, [A6 + 0x8]
00000454 C6FC 001A mulu.w D3, 0x1A
00000458 45ED FA4A lea.l A2, [A5 - 0x5B6]
0000045C D68A add.l D3, A2
0000045E 2D43 FFFC move.l [A6 - 0x4], D3
00000462 2F2E 000A move.l -[A7], [A6 + 0xA]
00000466 3F3C FFFC move.w -[A7], 0xFFFC
0000046A 3F3C FFFC move.w -[A7], 0xFFFC
0000046E A880 syscall SetPt
00000470 2F2E 000E move.l -[A7], [A6 + 0xE]
00000474 3F3C 0004 move.w -[A7], 0x4
00000478 3F3C 0004 move.w -[A7], 0x4
0000047C A880 syscall SetPt
0000047E 45ED FA4A lea.l A2, [A5 - 0x5B6]
00000482 2D4A FFF8 move.l [A6 - 0x8], A2
label00000486:
00000486 45ED FCD4 lea.l A2, [A5 - 0x32C]
0000048A 226E FFF8 movea.l A1, [A6 - 0x8]
0000048E B3CA cmpa.l A1, A2
00000490 6400 0118 bcc +0x11A /* 000005AA */
00000494 246E FFF8 movea.l A2, [A6 - 0x8]
00000498 0C6A FF9C 0014 cmpi.w [A2 + 0x14], 0xFF9C
0000049E 6700 000E beq +0x10 /* 000004AE */
000004A2 246E FFF8 movea.l A2, [A6 - 0x8]
000004A6 B5EE FFFC cmpa.l A2, [A6 - 0x4]
000004AA 6600 0006 bne +0x8 /* 000004B2 */
label000004AE:
000004AE 6000 00EE bra +0xF0 /* 0000059E */
label000004B2:
000004B2 246E FFF8 movea.l A2, [A6 - 0x8]
000004B6 226E FFFC movea.l A1, [A6 - 0x4]
000004BA 362A 0014 move.w D3, [A2 + 0x14]
000004BE B669 0014 cmp.w D3, [A1 + 0x14]
000004C2 6600 0062 bne +0x64 /* 00000526 */
000004C6 246E FFF8 movea.l A2, [A6 - 0x8]
000004CA 226E FFFC movea.l A1, [A6 - 0x4]
000004CE 362A 0012 move.w D3, [A2 + 0x12]
000004D2 B669 0012 cmp.w D3, [A1 + 0x12]
000004D6 6C00 0028 bge +0x2A /* 00000500 */
000004DA 246E FFF8 movea.l A2, [A6 - 0x8]
000004DE 226E 000A movea.l A1, [A6 + 0xA]
000004E2 362A 0012 move.w D3, [A2 + 0x12]
000004E6 B651 cmp.w D3, [A1]
000004E8 6D00 0012 blt +0x14 /* 000004FC */
000004EC 246E 000A movea.l A2, [A6 + 0xA]
000004F0 226E FFF8 movea.l A1, [A6 - 0x8]
000004F4 3629 0012 move.w D3, [A1 + 0x12]
000004F8 5243 addq.w D3, 1
000004FA 3483 move.w [A2], D3
label000004FC:
000004FC 6000 0024 bra +0x26 /* 00000522 */
label00000500:
00000500 246E FFF8 movea.l A2, [A6 - 0x8]
00000504 226E 000E movea.l A1, [A6 + 0xE]
00000508 362A 0012 move.w D3, [A2 + 0x12]
0000050C B651 cmp.w D3, [A1]
0000050E 6E00 0012 bgt +0x14 /* 00000522 */
00000512 246E 000E movea.l A2, [A6 + 0xE]
00000516 226E FFF8 movea.l A1, [A6 - 0x8]
0000051A 3629 0012 move.w D3, [A1 + 0x12]
0000051E 5343 subq.w D3, 1
00000520 3483 move.w [A2], D3
label00000522:
00000522 6000 007A bra +0x7C /* 0000059E */
label00000526:
00000526 246E FFF8 movea.l A2, [A6 - 0x8]
0000052A 226E FFFC movea.l A1, [A6 - 0x4]
0000052E 362A 0012 move.w D3, [A2 + 0x12]
00000532 B669 0012 cmp.w D3, [A1 + 0x12]
00000536 6600 0066 bne +0x68 /* 0000059E */
0000053A 246E FFF8 movea.l A2, [A6 - 0x8]
0000053E 226E FFFC movea.l A1, [A6 - 0x4]
00000542 362A 0014 move.w D3, [A2 + 0x14]
00000546 B669 0014 cmp.w D3, [A1 + 0x14]
0000054A 6C00 002C bge +0x2E /* 00000578 */
0000054E 246E FFF8 movea.l A2, [A6 - 0x8]
00000552 226E 000A movea.l A1, [A6 + 0xA]
00000556 362A 0014 move.w D3, [A2 + 0x14]
0000055A B669 0002 cmp.w D3, [A1 + 0x2]
0000055E 6D00 0014 blt +0x16 /* 00000574 */
00000562 246E 000A movea.l A2, [A6 + 0xA]
00000566 226E FFF8 movea.l A1, [A6 - 0x8]
0000056A 3629 0014 move.w D3, [A1 + 0x14]
0000056E 5243 addq.w D3, 1
00000570 3543 0002 move.w [A2 + 0x2], D3
label00000574:
00000574 6000 0028 bra +0x2A /* 0000059E */
label00000578:
00000578 246E FFF8 movea.l A2, [A6 - 0x8]
0000057C 226E 000E movea.l A1, [A6 + 0xE]
00000580 362A 0014 move.w D3, [A2 + 0x14]
00000584 B669 0002 cmp.w D3, [A1 + 0x2]
00000588 6E00 0014 bgt +0x16 /* 0000059E */
0000058C 246E 000E movea.l A2, [A6 + 0xE]
00000590 226E FFF8 movea.l A1, [A6 - 0x8]
00000594 3629 0014 move.w D3, [A1 + 0x14]
00000598 5343 subq.w D3, 1
0000059A 3543 0002 move.w [A2 + 0x2], D3
label0000059E:
0000059E 06AE 0000 001A FFF8 addi.l [A6 - 0x8], 0x1A
000005A6 6000 FEDE bra -0x120 /* 00000486 */
label000005AA:
000005AA 4CDF 0000 movem.l <none>, [A7]+
000005AE 4E5E unlink A6
000005B0 4E75 rts
fn000005B2:
000005B2 4E56 0000 link A6, 0
000005B6 48E7 0000 movem.l -[A7], <none>
000005BA 42A7 clr.l -[A7]
000005BC 3F3C 0081 move.w -[A7], 0x81
000005C0 A9B9 syscall GetCursor
000005C2 201F move.l D0, [A7]+
000005C4 2B40 FA3E move.l [A5 - 0x5C2], D0
000005C8 42A7 clr.l -[A7]
000005CA 3F3C 0082 move.w -[A7], 0x82
000005CE A9B9 syscall GetCursor
000005D0 201F move.l D0, [A7]+
000005D2 2B40 FA42 move.l [A5 - 0x5BE], D0
000005D6 2B7C FFFF FFFF FA46 move.l [A5 - 0x5BA], 0xFFFFFFFF
000005DE 4CDF 0000 movem.l <none>, [A7]+
000005E2 4E5E unlink A6
000005E4 4E75 rts
fn000005E6:
000005E6 4E56 FFFC link A6, -0x0004
000005EA 48E7 0000 movem.l -[A7], <none>
000005EE 4A6D FCD4 tst.w [A5 - 0x32C]
000005F2 6600 0018 bne +0x1A /* 0000060C */
000005F6 4267 clr.w -[A7]
000005F8 246E 0008 movea.l A2, [A6 + 0x8]
000005FC 2F12 move.l -[A7], [A2]
000005FE 486D FCD6 pea.l [A5 - 0x32A]
00000602 A8AD syscall PtInRect
00000604 101F move.b D0, [A7]+
00000606 4A00 tst.b D0
00000608 6600 000C bne +0xE /* 00000616 */
label0000060C:
0000060C 2D6D FA46 FFFC move.l [A6 - 0x4], [A5 - 0x5BA]
00000612 6000 001E bra +0x20 /* 00000632 */
label00000616:
00000616 362D FCDE move.w D3, [A5 - 0x322]
0000061A C67C 0001 and.w D3, 0x1
0000061E 6600 000C bne +0xE /* 0000062C */
00000622 2D6D FA42 FFFC move.l [A6 - 0x4], [A5 - 0x5BE]
00000628 6000 0008 bra +0xA /* 00000632 */
label0000062C:
0000062C 2D6D FA3E FFFC move.l [A6 - 0x4], [A5 - 0x5C2]
label00000632:
00000632 246E FFFC movea.l A2, [A6 - 0x4]
00000636 B5ED F2EC cmpa.l A2, [A5 - 0xD14]
0000063A 6700 0022 beq +0x24 /* 0000065E */
0000063E 246E FFFC movea.l A2, [A6 - 0x4]
00000642 B5ED FA46 cmpa.l A2, [A5 - 0x5BA]
00000646 6600 0008 bne +0xA /* 00000650 */
0000064A A850 syscall InitCursor
0000064C 6000 000A bra +0xC /* 00000658 */
label00000650:
00000650 246E FFFC movea.l A2, [A6 - 0x4]
00000654 2F12 move.l -[A7], [A2]
00000656 A851 syscall SetCursor
label00000658:
00000658 2B6E FFFC F2EC move.l [A5 - 0xD14], [A6 - 0x4]
label0000065E:
0000065E 4CDF 0000 movem.l <none>, [A7]+
00000662 4E5E unlink A6
00000664 4E75 rts
fn00000666:
00000666 4E56 0000 link A6, 0
0000066A 48E7 0000 movem.l -[A7], <none>
0000066E 42A7 clr.l -[A7]
00000670 3F3C 0081 move.w -[A7], 0x81
00000674 2F2D FCEC move.l -[A7], [A5 - 0x314]
00000678 A9BE syscall GetNewControl
0000067A 201F move.l D0, [A7]+
0000067C 2B40 FCE0 move.l [A5 - 0x320], D0
00000680 42A7 clr.l -[A7]
00000682 3F3C 0082 move.w -[A7], 0x82
00000686 2F2D FCEC move.l -[A7], [A5 - 0x314]
0000068A A9BE syscall GetNewControl
0000068C 201F move.l D0, [A7]+
0000068E 2B40 FCE4 move.l [A5 - 0x31C], D0
00000692 42A7 clr.l -[A7]
00000694 3F3C 0083 move.w -[A7], 0x83
00000698 2F2D FCEC move.l -[A7], [A5 - 0x314]
0000069C A9BE syscall GetNewControl
0000069E 201F move.l D0, [A7]+
000006A0 2B40 FCE8 move.l [A5 - 0x318], D0
000006A4 4CDF 0000 movem.l <none>, [A7]+
000006A8 4E5E unlink A6
000006AA 4E75 rts
fn000006AC:
000006AC 4E56 FFFE link A6, -0x0002
000006B0 48E7 0000 movem.l -[A7], <none>
000006B4 246E 0008 movea.l A2, [A6 + 0x8]
000006B8 B5ED FCE0 cmpa.l A2, [A5 - 0x320]
000006BC 6700 000E beq +0x10 /* 000006CC */
000006C0 246E 0008 movea.l A2, [A6 + 0x8]
000006C4 B5ED FCE4 cmpa.l A2, [A5 - 0x31C]
000006C8 6600 003C bne +0x3E /* 00000706 */
label000006CC:
000006CC 4267 clr.w -[A7]
000006CE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000006D2 246E 000E movea.l A2, [A6 + 0xE]
000006D6 2F12 move.l -[A7], [A2]
000006D8 42A7 clr.l -[A7]
000006DA A968 syscall TrackControl
000006DC 301F move.w D0, [A7]+
000006DE 4A40 tst.w D0
000006E0 6700 0020 beq +0x22 /* 00000702 */
000006E4 246E 0008 movea.l A2, [A6 + 0x8]
000006E8 B5ED FCE4 cmpa.l A2, [A5 - 0x31C]
000006EC 6600 000A bne +0xC /* 000006F8 */
000006F0 363C 0001 move.w D3, 0x1
000006F4 6000 0004 bra +0x6 /* 000006FA */
label000006F8:
000006F8 4243 clr.w D3
label000006FA:
000006FA 3F03 move.w -[A7], D3
000006FC 4EBA 0110 jsr [PC + 0x110 /* 0000080E */]
00000700 544F addq.w A7, 2
label00000702:
00000702 6000 007C bra +0x7E /* 00000780 */
label00000706:
00000706 246E 0008 movea.l A2, [A6 + 0x8]
0000070A B5ED FCE8 cmpa.l A2, [A5 - 0x318]
0000070E 6600 0070 bne +0x72 /* 00000780 */
00000712 0C6E 0081 000C cmpi.w [A6 + 0xC], 0x81
00000718 6600 0048 bne +0x4A /* 00000762 */
0000071C 3F3C 0001 move.w -[A7], 0x1
00000720 4EBA 00EC jsr [PC + 0xEC /* 0000080E */]
00000724 544F addq.w A7, 2
00000726 4267 clr.w -[A7]
00000728 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000072C 246E 000E movea.l A2, [A6 + 0xE]
00000730 2F12 move.l -[A7], [A2]
00000732 42A7 clr.l -[A7]
00000734 A968 syscall TrackControl
00000736 301F move.w D0, [A7]+
00000738 4A40 tst.w D0
0000073A 6700 0022 beq +0x24 /* 0000075E */
0000073E 4267 clr.w -[A7]
00000740 2F2D FCE8 move.l -[A7], [A5 - 0x318]
00000744 A960 syscall GetControlValue/GetCtlValue
00000746 301F move.w D0, [A7]+
00000748 3D40 FFFE move.w [A6 - 0x2], D0
0000074C 362E FFFE move.w D3, [A6 - 0x2]
00000750 5343 subq.w D3, 1
00000752 3F03 move.w -[A7], D3
00000754 4EBA 2BF0 jsr [PC + 0x2BF0 /* 00003346 */]
00000758 544F addq.w A7, 2
0000075A 4EBA 2C76 jsr [PC + 0x2C76 /* 000033D2 */]
label0000075E:
0000075E 6000 0020 bra +0x22 /* 00000780 */
label00000762:
00000762 3F3C 0001 move.w -[A7], 0x1
00000766 4EBA 00A6 jsr [PC + 0xA6 /* 0000080E */]
0000076A 544F addq.w A7, 2
0000076C 4267 clr.w -[A7]
0000076E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000772 246E 000E movea.l A2, [A6 + 0xE]
00000776 2F12 move.l -[A7], [A2]
00000778 487A 000E pea.l [PC + 0xE /* 00000788, value 0x4E56FFFE */]
0000077C A968 syscall TrackControl
0000077E 301F move.w D0, [A7]+
label00000780:
00000780 4CDF 0000 movem.l <none>, [A7]+
00000784 4E5E unlink A6
00000786 4E75 rts
00000788 4E56 FFFE link A6, -0x0002
0000078C 48E7 1020 movem.l -[A7], D3,A2
00000790 302E 0008 move.w D0, [A6 + 0x8]
00000794 6000 003A bra +0x3C /* 000007D0 */
00000798 3D7C FFFF FFFE move.w [A6 - 0x2], 0xFFFF
0000079E 6000 0044 bra +0x46 /* 000007E4 */
000007A2 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
000007A8 6000 003A bra +0x3C /* 000007E4 */
000007AC 3D7C FFFE FFFE move.w [A6 - 0x2], 0xFFFE
000007B2 6000 0030 bra +0x32 /* 000007E4 */
000007B6 3D7C 0002 FFFE move.w [A6 - 0x2], 0x2
000007BC 6000 0026 bra +0x28 /* 000007E4 */
label000007C0:
000007C0 426E FFFE clr.w [A6 - 0x2]
000007C4 6000 001E bra +0x20 /* 000007E4 */
000007C8 FFB6 .invalid <<F/6/7>>
000007CA FFC0 .invalid <<F/7/7>>
000007CC FFCA .invalid <<F/7/7>>
000007CE FFD4 .invalid <<F/7/7>>
label000007D0:
000007D0 907C 0014 sub.w D0, 0x14
000007D4 B07C 0004 cmp.w D0, 0x4
000007D8 64E6 bcc -0x18 /* 000007C0 */
000007DA E340 asl D0.w, 1
000007DC 303B 00EA move.w D0, [PC + D0.w - 0x22]
000007E0 4EFB 0000 jmp [PC + D0.w]
label000007E4:
000007E4 4A6E FFFE tst.w [A6 - 0x2]
000007E8 6700 0018 beq +0x1A /* 00000802 */
000007EC 362D FCDE move.w D3, [A5 - 0x322]
000007F0 D66E FFFE add.w D3, [A6 - 0x2]
000007F4 5343 subq.w D3, 1
000007F6 3F03 move.w -[A7], D3
000007F8 4EBA 2B4C jsr [PC + 0x2B4C /* 00003346 */]
000007FC 544F addq.w A7, 2
000007FE 4EBA 2BD2 jsr [PC + 0x2BD2 /* 000033D2 */]
label00000802:
00000802 4CDF 0408 movem.l D3,A2, [A7]+
00000806 4E5E unlink A6
00000808 205F movea.l A0, [A7]+
0000080A 5C4F addq.w A7, 6
0000080C 4ED0 jmp [A0]
fn0000080E:
0000080E 4E56 0000 link A6, 0
00000812 48E7 0000 movem.l -[A7], <none>
00000816 4A6D FCF0 tst.w [A5 - 0x310]
0000081A 6700 0008 beq +0xA /* 00000824 */
0000081E 3D7C 0001 0008 move.w [A6 + 0x8], 0x1
label00000824:
00000824 4A6D F2F0 tst.w [A5 - 0xD10]
00000828 6600 000E bne +0x10 /* 00000838 */
0000082C 362D FCD4 move.w D3, [A5 - 0x32C]
00000830 B66E 0008 cmp.w D3, [A6 + 0x8]
00000834 6700 0030 beq +0x32 /* 00000866 */
label00000838:
00000838 426D F2F0 clr.w [A5 - 0xD10]
0000083C 3B6E 0008 FCD4 move.w [A5 - 0x32C], [A6 + 0x8]
00000842 2F2D FCE0 move.l -[A7], [A5 - 0x320]
00000846 4A6D FCD4 tst.w [A5 - 0x32C]
0000084A 6600 000A bne +0xC /* 00000856 */
0000084E 363C 0001 move.w D3, 0x1
00000852 6000 0004 bra +0x6 /* 00000858 */
label00000856:
00000856 4243 clr.w D3
label00000858:
00000858 3F03 move.w -[A7], D3
0000085A A963 syscall SetControlValue/SetCtlValue
0000085C 2F2D FCE4 move.l -[A7], [A5 - 0x31C]
00000860 3F2D FCD4 move.w -[A7], [A5 - 0x32C]
00000864 A963 syscall SetControlValue/SetCtlValue
label00000866:
00000866 4CDF 0000 movem.l <none>, [A7]+
0000086A 4E5E unlink A6
0000086C 4E75 rts
fn0000086E:
0000086E 4E56 0000 link A6, 0
00000872 48E7 0000 movem.l -[A7], <none>
00000876 2F2D FCE8 move.l -[A7], [A5 - 0x318]
0000087A 3F3C 0001 move.w -[A7], 0x1
0000087E A964 syscall SetControlMinimum/SetMinCtl
00000880 0C6D 0002 FCF2 cmpi.w [A5 - 0x30E], 0x2
00000886 6C00 0010 bge +0x12 /* 00000898 */
0000088A 2F2D FCE8 move.l -[A7], [A5 - 0x318]
0000088E 3F3C 00FF move.w -[A7], 0xFF
00000892 A95D syscall HiliteControl
00000894 6000 002A bra +0x2C /* 000008C0 */
label00000898:
00000898 2F2D FCE8 move.l -[A7], [A5 - 0x318]
0000089C A958 syscall HideControl
0000089E 2F2D FCE8 move.l -[A7], [A5 - 0x318]
000008A2 3F2D FCF2 move.w -[A7], [A5 - 0x30E]
000008A6 A965 syscall SetControlMaximum/SetMaxCtl
000008A8 2F2D FCE8 move.l -[A7], [A5 - 0x318]
000008AC 3F2D FCDE move.w -[A7], [A5 - 0x322]
000008B0 A963 syscall SetControlValue/SetCtlValue
000008B2 2F2D FCE8 move.l -[A7], [A5 - 0x318]
000008B6 4267 clr.w -[A7]
000008B8 A95D syscall HiliteControl
000008BA 2F2D FCE8 move.l -[A7], [A5 - 0x318]
000008BE A957 syscall ShowControl
label000008C0:
000008C0 4CDF 0000 movem.l <none>, [A7]+
000008C4 4E5E unlink A6
000008C6 4E75 rts
fn000008C8:
000008C8 4E56 FFFA link A6, -0x0006
000008CC 48E7 0000 movem.l -[A7], <none>
000008D0 42A7 clr.l -[A7]
000008D2 3F2E 0008 move.w -[A7], [A6 + 0x8]
000008D6 42A7 clr.l -[A7]
000008D8 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000008DE A97C syscall GetNewDialog
000008E0 201F move.l D0, [A7]+
000008E2 2D40 FFFA move.l [A6 - 0x6], D0
000008E6 42A7 clr.l -[A7]
000008E8 486E FFFE pea.l [A6 - 0x2]
000008EC A991 syscall ModalDialog
000008EE 2F2E FFFA move.l -[A7], [A6 - 0x6]
000008F2 A983 syscall DisposeDialog
000008F4 4CDF 0000 movem.l <none>, [A7]+
000008F8 4E5E unlink A6
000008FA 4E75 rts
000008FC 4E56 FFF2 link A6, -0x000E
00000900 48E7 0000 movem.l -[A7], <none>
00000904 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000908 3F2E 000E move.w -[A7], [A6 + 0xE]
0000090C 486E FFFE pea.l [A6 - 0x2]
00000910 486E FFFA pea.l [A6 - 0x6]
00000914 486E FFF2 pea.l [A6 - 0xE]
00000918 A98D syscall GetDialogItem/GetDItem
0000091A 2F2E FFFA move.l -[A7], [A6 - 0x6]
0000091E 4267 clr.w -[A7]
00000920 A963 syscall SetControlValue/SetCtlValue
00000922 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000926 3F2E 000C move.w -[A7], [A6 + 0xC]
0000092A 486E FFFE pea.l [A6 - 0x2]
0000092E 486E FFFA pea.l [A6 - 0x6]
00000932 486E FFF2 pea.l [A6 - 0xE]
00000936 A98D syscall GetDialogItem/GetDItem
00000938 2F2E FFFA move.l -[A7], [A6 - 0x6]
0000093C 3F3C 0001 move.w -[A7], 0x1
00000940 A963 syscall SetControlValue/SetCtlValue
00000942 302E 000C move.w D0, [A6 + 0xC]
00000946 4CDF 0000 movem.l <none>, [A7]+
0000094A 4E5E unlink A6
0000094C 4E75 rts
0000094E 4E56 FFEA link A6, -0x0016
00000952 48E7 0000 movem.l -[A7], <none>
00000956 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000095A 3F2E 000C move.w -[A7], [A6 + 0xC]
0000095E 486E FFFE pea.l [A6 - 0x2]
00000962 486E FFFA pea.l [A6 - 0x6]
00000966 486E FFF2 pea.l [A6 - 0xE]
0000096A A98D syscall GetDialogItem/GetDItem
0000096C 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000970 486D F386 pea.l [A5 - 0xC7A]
00000974 A990 syscall GetDialogItemText/GetIText
00000976 486D F386 pea.l [A5 - 0xC7A]
0000097A 4EBA 3AD2 jsr [PC + 0x3AD2 /* 0000444E */]
0000097E 584F addq.w A7, 4
00000980 45ED F386 lea.l A2, [A5 - 0xC7A]
00000984 2D4A FFEA move.l [A6 - 0x16], A2
00000988 45ED F386 lea.l A2, [A5 - 0xC7A]
0000098C 2D4A FFEE move.l [A6 - 0x12], A2
label00000990:
00000990 246E FFEA movea.l A2, [A6 - 0x16]
00000994 226E FFEE movea.l A1, [A6 - 0x12]
00000998 1491 move.b [A2], [A1]
0000099A 4A11 tst.b [A1]
0000099C 6700 002C beq +0x2E /* 000009CA */
000009A0 246E FFEA movea.l A2, [A6 - 0x16]
000009A4 1612 move.b D3, [A2]
000009A6 4883 ext.w D3
000009A8 B67C 0000 cmp.w D3, 0x0
000009AC 6D00 0016 blt +0x18 /* 000009C4 */
000009B0 246E FFEA movea.l A2, [A6 - 0x16]
000009B4 1612 move.b D3, [A2]
000009B6 4883 ext.w D3
000009B8 B67C 0039 cmp.w D3, 0x39 /* '9' */
000009BC 6E00 0006 bgt +0x8 /* 000009C4 */
000009C0 52AE FFEA addq.l [A6 - 0x16], 1
label000009C4:
000009C4 52AE FFEE addq.l [A6 - 0x12], 1
000009C8 60C6 bra -0x38 /* 00000990 */
label000009CA:
000009CA 362E 000E move.w D3, [A6 + 0xE]
000009CE 45ED F386 lea.l A2, [A5 - 0xC7A]
000009D2 4232 3000 clr.b [A2 + D3.w]
000009D6 486D F386 pea.l [A5 - 0xC7A]
000009DA 4EBA 39D2 jsr [PC + 0x39D2 /* 000043AE */]
000009DE 584F addq.w A7, 4
000009E0 2F2E FFFA move.l -[A7], [A6 - 0x6]
000009E4 486D F386 pea.l [A5 - 0xC7A]
000009E8 A98F syscall SetDialogItemText/SetIText
000009EA 4CDF 0000 movem.l <none>, [A7]+
000009EE 4E5E unlink A6
000009F0 4E75 rts
fn000009F2:
000009F2 4E56 FFFC link A6, -0x0004
000009F6 48E7 0000 movem.l -[A7], <none>
000009FA 42A7 clr.l -[A7]
000009FC 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00000A02 486D F2F2 pea.l [A5 - 0xD0E]
00000A06 A9A1 syscall GetNamedResource
00000A08 201F move.l D0, [A7]+
00000A0A 2B40 FD04 move.l [A5 - 0x2FC], D0
00000A0E 42A7 clr.l -[A7]
00000A10 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00000A16 486D F2FF pea.l [A5 - 0xD01]
00000A1A A9A1 syscall GetNamedResource
00000A1C 201F move.l D0, [A7]+
00000A1E 2B40 FD08 move.l [A5 - 0x2F8], D0
00000A22 3F3C 0008 move.w -[A7], 0x8
00000A26 486D FCF4 pea.l [A5 - 0x30C]
00000A2A 246D FD04 movea.l A2, [A5 - 0x2FC]
00000A2E 2252 movea.l A1, [A2]
00000A30 5489 addq.l A1, 2
00000A32 2F09 move.l -[A7], A1
00000A34 4EBA 358E jsr [PC + 0x358E /* 00003FC4 */]
00000A38 DEFC 000A add.w A7, 0xA /* '\n' */
00000A3C 3F3C 0008 move.w -[A7], 0x8
00000A40 486D FCFC pea.l [A5 - 0x304]
00000A44 246D FD08 movea.l A2, [A5 - 0x2F8]
00000A48 2252 movea.l A1, [A2]
00000A4A 5489 addq.l A1, 2
00000A4C 2F09 move.l -[A7], A1
00000A4E 4EBA 3574 jsr [PC + 0x3574 /* 00003FC4 */]
00000A52 DEFC 000A add.w A7, 0xA /* '\n' */
00000A56 486D FCF4 pea.l [A5 - 0x30C]
00000A5A 246D FD04 movea.l A2, [A5 - 0x2FC]
00000A5E 2252 movea.l A1, [A2]
00000A60 3629 0004 move.w D3, [A1 + 0x4]
00000A64 4443 neg.w D3
00000A66 3F03 move.w -[A7], D3
00000A68 246D FD04 movea.l A2, [A5 - 0x2FC]
00000A6C 2252 movea.l A1, [A2]
00000A6E 3629 0002 move.w D3, [A1 + 0x2]
00000A72 4443 neg.w D3
00000A74 3F03 move.w -[A7], D3
00000A76 A8A8 syscall OffsetRect
00000A78 486D FCFC pea.l [A5 - 0x304]
00000A7C 246D FD08 movea.l A2, [A5 - 0x2F8]
00000A80 2252 movea.l A1, [A2]
00000A82 3629 0004 move.w D3, [A1 + 0x4]
00000A86 4443 neg.w D3
00000A88 3F03 move.w -[A7], D3
00000A8A 246D FD08 movea.l A2, [A5 - 0x2F8]
00000A8E 2252 movea.l A1, [A2]
00000A90 3629 0002 move.w D3, [A1 + 0x2]
00000A94 4443 neg.w D3
00000A96 D66D FCF8 add.w D3, [A5 - 0x308]
00000A9A 3F03 move.w -[A7], D3
00000A9C A8A8 syscall OffsetRect
00000A9E 246D FCEC movea.l A2, [A5 - 0x314]
00000AA2 362A 0012 move.w D3, [A2 + 0x12]
00000AA6 D66A 0016 add.w D3, [A2 + 0x16]
00000AAA 48C3 ext.l D3
00000AAC 87FC 0002 divs.w D3, 0x2
00000AB0 342D FCF6 move.w D2, [A5 - 0x30A]
00000AB4 D46D FCFA add.w D2, [A5 - 0x306]
00000AB8 48C2 ext.l D2
00000ABA 85FC 0002 divs.w D2, 0x2
00000ABE 9642 sub.w D3, D2
00000AC0 3D43 FFFE move.w [A6 - 0x2], D3
00000AC4 246D FCEC movea.l A2, [A5 - 0x314]
00000AC8 362A 0010 move.w D3, [A2 + 0x10]
00000ACC D66A 0014 add.w D3, [A2 + 0x14]
00000AD0 48C3 ext.l D3
00000AD2 87FC 0002 divs.w D3, 0x2
00000AD6 342D FCF4 move.w D2, [A5 - 0x30C]
00000ADA D46D FD00 add.w D2, [A5 - 0x300]
00000ADE 48C2 ext.l D2
00000AE0 85FC 0002 divs.w D2, 0x2
00000AE4 9642 sub.w D3, D2
00000AE6 3D43 FFFC move.w [A6 - 0x4], D3
00000AEA 486D FCF4 pea.l [A5 - 0x30C]
00000AEE 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000AF2 3F2E FFFC move.w -[A7], [A6 - 0x4]
00000AF6 A8A8 syscall OffsetRect
00000AF8 486D FCFC pea.l [A5 - 0x304]
00000AFC 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000B00 3F2E FFFC move.w -[A7], [A6 - 0x4]
00000B04 A8A8 syscall OffsetRect
00000B06 486D FCD6 pea.l [A5 - 0x32A]
00000B0A 3F2D FCF6 move.w -[A7], [A5 - 0x30A]
00000B0E 3F2D FCF4 move.w -[A7], [A5 - 0x30C]
00000B12 3F2D FD02 move.w -[A7], [A5 - 0x2FE]
00000B16 3F2D FD00 move.w -[A7], [A5 - 0x300]
00000B1A A8A7 syscall SetRect
00000B1C 362D FCD8 move.w D3, [A5 - 0x328]
00000B20 D66D FCDC add.w D3, [A5 - 0x324]
00000B24 48C3 ext.l D3
00000B26 87FC 0002 divs.w D3, 0x2
00000B2A 3B43 FD86 move.w [A5 - 0x27A], D3
00000B2E 362D FCD6 move.w D3, [A5 - 0x32A]
00000B32 D66D FCDA add.w D3, [A5 - 0x326]
00000B36 48C3 ext.l D3
00000B38 87FC 0002 divs.w D3, 0x2
00000B3C 3B43 FD84 move.w [A5 - 0x27C], D3
00000B40 4CDF 0000 movem.l <none>, [A7]+
00000B44 4E5E unlink A6
00000B46 4E75 rts
fn00000B48:
00000B48 4E56 0000 link A6, 0
00000B4C 48E7 0000 movem.l -[A7], <none>
00000B50 486D FD0C pea.l [A5 - 0x2F4]
00000B54 3F3C 0081 move.w -[A7], 0x81
00000B58 3F3C 0001 move.w -[A7], 0x1
00000B5C 4EBA 38B2 jsr [PC + 0x38B2 /* 00004410 */]
00000B60 486D FD34 pea.l [A5 - 0x2CC]
00000B64 3F3C 0081 move.w -[A7], 0x81
00000B68 3F3C 0002 move.w -[A7], 0x2
00000B6C 4EBA 38A2 jsr [PC + 0x38A2 /* 00004410 */]
00000B70 486D FD5C pea.l [A5 - 0x2A4]
00000B74 3F3C 0081 move.w -[A7], 0x81
00000B78 3F3C 0003 move.w -[A7], 0x3
00000B7C 4EBA 3892 jsr [PC + 0x3892 /* 00004410 */]
00000B80 4CDF 0000 movem.l <none>, [A7]+
00000B84 4E5E unlink A6
00000B86 4E75 rts
fn00000B88:
00000B88 4E56 FFF8 link A6, -0x0008
00000B8C 48E7 0000 movem.l -[A7], <none>
00000B90 2F2D FCEC move.l -[A7], [A5 - 0x314]
00000B94 A922 syscall BeginUpdate
00000B96 486E FFFC pea.l [A6 - 0x4]
00000B9A A874 syscall GetPort
00000B9C 2F2D FCEC move.l -[A7], [A5 - 0x314]
00000BA0 A873 syscall SetPort
00000BA2 2F2D FD04 move.l -[A7], [A5 - 0x2FC]
00000BA6 486D FCF4 pea.l [A5 - 0x30C]
00000BAA A8F6 syscall DrawPicture
00000BAC 2F2D FD08 move.l -[A7], [A5 - 0x2F8]
00000BB0 486D FCFC pea.l [A5 - 0x304]
00000BB4 A8F6 syscall DrawPicture
00000BB6 45ED FA4A lea.l A2, [A5 - 0x5B6]
00000BBA 2D4A FFF8 move.l [A6 - 0x8], A2
label00000BBE:
00000BBE 45ED FCD4 lea.l A2, [A5 - 0x32C]
00000BC2 226E FFF8 movea.l A1, [A6 - 0x8]
00000BC6 B3CA cmpa.l A1, A2
00000BC8 6400 0032 bcc +0x34 /* 00000BFC */
00000BCC 246E FFF8 movea.l A2, [A6 - 0x8]
00000BD0 0C6A 0000 0010 cmpi.w [A2 + 0x10], 0x0
00000BD6 6D00 001A blt +0x1C /* 00000BF2 */
00000BDA 202E FFF8 move.l D0, [A6 - 0x8]
00000BDE 45ED FA4A lea.l A2, [A5 - 0x5B6]
00000BE2 908A sub.l D0, A2
00000BE4 721A moveq.l D1, 0x1A
00000BE6 4EBA 32A0 jsr [PC + 0x32A0 /* 00003E88 */]
00000BEA 3F00 move.w -[A7], D0
00000BEC 4EBA 2694 jsr [PC + 0x2694 /* 00003282 */]
00000BF0 544F addq.w A7, 2
label00000BF2:
00000BF2 06AE 0000 001A FFF8 addi.l [A6 - 0x8], 0x1A
00000BFA 60C2 bra -0x3C /* 00000BBE */
label00000BFC:
00000BFC 2F2D FCEC move.l -[A7], [A5 - 0x314]
00000C00 A969 syscall DrawControls
00000C02 4EBA 0016 jsr [PC + 0x16 /* 00000C1A */]
00000C06 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000C0A A873 syscall SetPort
00000C0C 2F2D FCEC move.l -[A7], [A5 - 0x314]
00000C10 A923 syscall EndUpdate
00000C12 4CDF 0000 movem.l <none>, [A7]+
00000C16 4E5E unlink A6
00000C18 4E75 rts
fn00000C1A:
00000C1A 4E56 FFD6 link A6, -0x002A
00000C1E 48E7 0000 movem.l -[A7], <none>
00000C22 3F3C 0010 move.w -[A7], 0x10
00000C26 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
00000C2A A893 syscall MoveTo
00000C2C 486D FD0C pea.l [A5 - 0x2F4]
00000C30 A884 syscall DrawString
00000C32 362D FCDE move.w D3, [A5 - 0x322]
00000C36 5343 subq.w D3, 1
00000C38 48C3 ext.l D3
00000C3A 2F03 move.l -[A7], D3
00000C3C 486E FFEC pea.l [A6 - 0x14]
00000C40 4EBA 31DE jsr [PC + 0x31DE /* 00003E20 */]
00000C44 486E FFEC pea.l [A6 - 0x14]
00000C48 4EBA 3804 jsr [PC + 0x3804 /* 0000444E */]
00000C4C 584F addq.w A7, 4
00000C4E 486E FFEC pea.l [A6 - 0x14]
00000C52 4EBA 342A jsr [PC + 0x342A /* 0000407E */]
00000C56 584F addq.w A7, 4
00000C58 3D40 FFEA move.w [A6 - 0x16], D0
00000C5C 4267 clr.w -[A7]
00000C5E 486E FFEC pea.l [A6 - 0x14]
00000C62 4267 clr.w -[A7]
00000C64 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000C68 A886 syscall TextWidth
00000C6A 301F move.w D0, [A7]+
00000C6C 3D40 FFE8 move.w [A6 - 0x18], D0
00000C70 486E FFDE pea.l [A6 - 0x22]
00000C74 A88B syscall GetFontInfo
00000C76 486E FFD6 pea.l [A6 - 0x2A]
00000C7A 3F3C 0038 move.w -[A7], 0x38 /* '8' */
00000C7E 7664 moveq.l D3, 0x64
00000C80 966E FFDE sub.w D3, [A6 - 0x22]
00000C84 3F03 move.w -[A7], D3
00000C86 3F3C 0060 move.w -[A7], 0x60 /* '`' */
00000C8A 362E FFE0 move.w D3, [A6 - 0x20]
00000C8E D67C 0064 add.w D3, 0x64 /* 'd' */
00000C92 3F03 move.w -[A7], D3
00000C94 A8A7 syscall SetRect
00000C96 486E FFD6 pea.l [A6 - 0x2A]
00000C9A A8A3 syscall EraseRect
00000C9C 7660 moveq.l D3, 0x60
00000C9E 966E FFE8 sub.w D3, [A6 - 0x18]
00000CA2 3F03 move.w -[A7], D3
00000CA4 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
00000CA8 A893 syscall MoveTo
00000CAA 486E FFEC pea.l [A6 - 0x14]
00000CAE 4267 clr.w -[A7]
00000CB0 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000CB4 A885 syscall DrawText
00000CB6 4267 clr.w -[A7]
00000CB8 486D FD34 pea.l [A5 - 0x2CC]
00000CBC A88C syscall StringWidth
00000CBE 301F move.w D0, [A7]+
00000CC0 3D40 FFE8 move.w [A6 - 0x18], D0
00000CC4 4267 clr.w -[A7]
00000CC6 486D FD5C pea.l [A5 - 0x2A4]
00000CCA A88C syscall StringWidth
00000CCC 301F move.w D0, [A7]+
00000CCE 3D40 FFE6 move.w [A6 - 0x1A], D0
00000CD2 362E FFE8 move.w D3, [A6 - 0x18]
00000CD6 B66E FFE6 cmp.w D3, [A6 - 0x1A]
00000CDA 6C00 0008 bge +0xA /* 00000CE4 */
00000CDE 3D6E FFE6 FFE8 move.w [A6 - 0x18], [A6 - 0x1A]
label00000CE4:
00000CE4 486E FFD6 pea.l [A6 - 0x2A]
00000CE8 3F3C 0010 move.w -[A7], 0x10
00000CEC 7678 moveq.l D3, 0x78
00000CEE 966E FFDE sub.w D3, [A6 - 0x22]
00000CF2 3F03 move.w -[A7], D3
00000CF4 362E FFE8 move.w D3, [A6 - 0x18]
00000CF8 D67C 0010 add.w D3, 0x10
00000CFC 3F03 move.w -[A7], D3
00000CFE 362E FFE0 move.w D3, [A6 - 0x20]
00000D02 D67C 0078 add.w D3, 0x78 /* 'x' */
00000D06 3F03 move.w -[A7], D3
00000D08 A8A7 syscall SetRect
00000D0A 486E FFD6 pea.l [A6 - 0x2A]
00000D0E A8A3 syscall EraseRect
00000D10 3F3C 0010 move.w -[A7], 0x10
00000D14 3F3C 0078 move.w -[A7], 0x78 /* 'x' */
00000D18 A893 syscall MoveTo
00000D1A 0C6D 0001 FCF0 cmpi.w [A5 - 0x310], 0x1
00000D20 6600 000C bne +0xE /* 00000D2E */
00000D24 486D FD34 pea.l [A5 - 0x2CC]
00000D28 A884 syscall DrawString
00000D2A 6000 0012 bra +0x14 /* 00000D3E */
label00000D2E:
00000D2E 0C6D 0002 FCF0 cmpi.w [A5 - 0x310], 0x2
00000D34 6600 0008 bne +0xA /* 00000D3E */
00000D38 486D FD5C pea.l [A5 - 0x2A4]
00000D3C A884 syscall DrawString
label00000D3E:
00000D3E 4CDF 0000 movem.l <none>, [A7]+
00000D42 4E5E unlink A6
00000D44 4E75 rts
fn00000D46:
00000D46 4E56 FFEA link A6, -0x0016
00000D4A 48E7 0000 movem.l -[A7], <none>
00000D4E 486E FFEE pea.l [A6 - 0x12]
00000D52 A898 syscall GetPenState
00000D54 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000D58 A89C syscall PenMode
00000D5A 42A7 clr.l -[A7]
00000D5C 3F3C 0081 move.w -[A7], 0x81
00000D60 A9B8 syscall GetPattern
00000D62 201F move.l D0, [A7]+
00000D64 2D40 FFEA move.l [A6 - 0x16], D0
00000D68 246E FFEA movea.l A2, [A6 - 0x16]
00000D6C 2F12 move.l -[A7], [A2]
00000D6E A89D syscall PenPat
00000D70 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000D74 A8A2 syscall PaintRect
00000D76 486E FFEE pea.l [A6 - 0x12]
00000D7A A899 syscall SetPenState
00000D7C 4CDF 0000 movem.l <none>, [A7]+
00000D80 4E5E unlink A6
00000D82 4E75 rts
fn00000D84:
00000D84 4E56 FFFE link A6, -0x0002
00000D88 48E7 0000 movem.l -[A7], <none>
00000D8C 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
label00000D92:
00000D92 0C6E 001E FFFE cmpi.w [A6 - 0x2], 0x1E
00000D98 6200 0022 bhi +0x24 /* 00000DBC */
00000D9C 362E FFFE move.w D3, [A6 - 0x2]
00000DA0 5343 subq.w D3, 1
00000DA2 48C3 ext.l D3
00000DA4 E383 asl D3, 1
00000DA6 45ED F30C lea.l A2, [A5 - 0xCF4]
00000DAA 3432 3800 move.w D2, [A2 + D3]
00000DAE B46E 0008 cmp.w D2, [A6 + 0x8]
00000DB2 6700 0008 beq +0xA /* 00000DBC */
00000DB6 526E FFFE addq.w [A6 - 0x2], 1
00000DBA 60D6 bra -0x28 /* 00000D92 */
label00000DBC:
00000DBC 0C6E 001E FFFE cmpi.w [A6 - 0x2], 0x1E
00000DC2 6200 0016 bhi +0x18 /* 00000DDA */
00000DC6 486D F3EA pea.l [A5 - 0xC16]
00000DCA 3F3C 0191 move.w -[A7], 0x191
00000DCE 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000DD2 4EBA 363C jsr [PC + 0x363C /* 00004410 */]
00000DD6 6000 0012 bra +0x14 /* 00000DEA */
label00000DDA:
00000DDA 362E 0008 move.w D3, [A6 + 0x8]
00000DDE 48C3 ext.l D3
00000DE0 2F03 move.l -[A7], D3
00000DE2 486D F3EA pea.l [A5 - 0xC16]
00000DE6 4EBA 3038 jsr [PC + 0x3038 /* 00003E20 */]
label00000DEA:
00000DEA 486D F3EA pea.l [A5 - 0xC16]
00000DEE 42A7 clr.l -[A7]
00000DF0 42A7 clr.l -[A7]
00000DF2 42A7 clr.l -[A7]
00000DF4 A98B syscall ParamText
00000DF6 4267 clr.w -[A7]
00000DF8 3F3C 0191 move.w -[A7], 0x191
00000DFC 42A7 clr.l -[A7]
00000DFE A986 syscall StopAlert
00000E00 301F move.w D0, [A7]+
00000E02 4EBA 3662 jsr [PC + 0x3662 /* 00004466 */]
00000E06 4CDF 0000 movem.l <none>, [A7]+
00000E0A 4E5E unlink A6
00000E0C 4E75 rts
fn00000E0E:
00000E0E 4E56 0000 link A6, 0
00000E12 48E7 0000 movem.l -[A7], <none>
00000E16 4267 clr.w -[A7]
00000E18 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000E1C 4EBA 0048 jsr [PC + 0x48 /* 00000E66 */]
00000E20 584F addq.w A7, 4
00000E22 4CDF 0000 movem.l <none>, [A7]+
00000E26 4E5E unlink A6
00000E28 4E75 rts
00000E2A 4E56 0000 link A6, 0
00000E2E 48E7 0000 movem.l -[A7], <none>
00000E32 3F3C 0001 move.w -[A7], 0x1
00000E36 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000E3A 4EBA 002A jsr [PC + 0x2A /* 00000E66 */]
00000E3E 584F addq.w A7, 4
00000E40 4CDF 0000 movem.l <none>, [A7]+
00000E44 4E5E unlink A6
00000E46 4E75 rts
00000E48 4E56 0000 link A6, 0
00000E4C 48E7 0000 movem.l -[A7], <none>
00000E50 3F3C 0002 move.w -[A7], 0x2
00000E54 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000E58 4EBA 000C jsr [PC + 0xC /* 00000E66 */]
00000E5C 584F addq.w A7, 4
00000E5E 4CDF 0000 movem.l <none>, [A7]+
00000E62 4E5E unlink A6
00000E64 4E75 rts
fn00000E66:
00000E66 4E56 0000 link A6, 0
00000E6A 48E7 0000 movem.l -[A7], <none>
00000E6E 486D F3EA pea.l [A5 - 0xC16]
00000E72 3F3C 0192 move.w -[A7], 0x192
00000E76 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000E7A 4EBA 3594 jsr [PC + 0x3594 /* 00004410 */]
00000E7E 486D F3EA pea.l [A5 - 0xC16]
00000E82 42A7 clr.l -[A7]
00000E84 42A7 clr.l -[A7]
00000E86 42A7 clr.l -[A7]
00000E88 A98B syscall ParamText
00000E8A 302E 000A move.w D0, [A6 + 0xA]
00000E8E 6000 0032 bra +0x34 /* 00000EC2 */
label00000E92:
00000E92 4267 clr.w -[A7]
00000E94 3F3C 0191 move.w -[A7], 0x191
00000E98 42A7 clr.l -[A7]
00000E9A A986 syscall StopAlert
00000E9C 301F move.w D0, [A7]+
00000E9E 6000 0030 bra +0x32 /* 00000ED0 */
label00000EA2:
00000EA2 4267 clr.w -[A7]
00000EA4 3F3C 0191 move.w -[A7], 0x191
00000EA8 42A7 clr.l -[A7]
00000EAA A986 syscall StopAlert
00000EAC 301F move.w D0, [A7]+
00000EAE 6000 0020 bra +0x22 /* 00000ED0 */
label00000EB2:
00000EB2 4267 clr.w -[A7]
00000EB4 3F3C 0191 move.w -[A7], 0x191
00000EB8 42A7 clr.l -[A7]
00000EBA A986 syscall StopAlert
00000EBC 301F move.w D0, [A7]+
00000EBE 6000 0010 bra +0x12 /* 00000ED0 */
label00000EC2:
00000EC2 907C 0000 sub.w D0, 0x0
00000EC6 67CA beq -0x34 /* 00000E92 */
00000EC8 5340 subq.w D0, 1
00000ECA 67D6 beq -0x28 /* 00000EA2 */
00000ECC 5340 subq.w D0, 1
00000ECE 67E2 beq -0x1C /* 00000EB2 */
label00000ED0:
00000ED0 4EBA 3594 jsr [PC + 0x3594 /* 00004466 */]
00000ED4 4CDF 0000 movem.l <none>, [A7]+
00000ED8 4E5E unlink A6
00000EDA 4E75 rts
fn00000EDC:
00000EDC 4E56 0000 link A6, 0
00000EE0 48E7 0000 movem.l -[A7], <none>
00000EE4 486D FD88 pea.l [A5 - 0x278]
00000EE8 3F3C 0082 move.w -[A7], 0x82
00000EEC 3F3C 0002 move.w -[A7], 0x2
00000EF0 4EBA 351E jsr [PC + 0x351E /* 00004410 */]
00000EF4 2F2D FCEC move.l -[A7], [A5 - 0x314]
00000EF8 486D FD88 pea.l [A5 - 0x278]
00000EFC A91A syscall SetWTitle
00000EFE 3B7C 0001 FE08 move.w [A5 - 0x1F8], 0x1
00000F04 4EBA FC82 jsr [PC - 0x37E /* 00000B88 */]
00000F08 4EBA 07DE jsr [PC + 0x7DE /* 000016E8 */]
00000F0C 426D FCF0 clr.w [A5 - 0x310]
00000F10 4267 clr.w -[A7]
00000F12 4EBA 2432 jsr [PC + 0x2432 /* 00003346 */]
00000F16 544F addq.w A7, 2
00000F18 4EBA 2696 jsr [PC + 0x2696 /* 000035B0 */]
00000F1C 426D FE0A clr.w [A5 - 0x1F6]
00000F20 4267 clr.w -[A7]
00000F22 4EBA F8EA jsr [PC - 0x716 /* 0000080E */]
00000F26 544F addq.w A7, 2
00000F28 4CDF 0000 movem.l <none>, [A7]+
00000F2C 4E5E unlink A6
00000F2E 4E75 rts
fn00000F30:
00000F30 4E56 FFFE link A6, -0x0002
00000F34 48E7 0000 movem.l -[A7], <none>
00000F38 4A6D FE0A tst.w [A5 - 0x1F6]
00000F3C 6600 000C bne +0xE /* 00000F4A */
00000F40 7001 moveq.l D0, 0x01
label00000F42:
00000F42 4CDF 0000 movem.l <none>, [A7]+
00000F46 4E5E unlink A6
00000F48 4E75 rts
label00000F4A:
00000F4A 486D FD88 pea.l [A5 - 0x278]
00000F4E 42A7 clr.l -[A7]
00000F50 42A7 clr.l -[A7]
00000F52 42A7 clr.l -[A7]
00000F54 A98B syscall ParamText
00000F56 4267 clr.w -[A7]
00000F58 3F3C 0190 move.w -[A7], 0x190
00000F5C 42A7 clr.l -[A7]
00000F5E A985 syscall Alert
00000F60 301F move.w D0, [A7]+
00000F62 3D40 FFFE move.w [A6 - 0x2], D0
00000F66 4EBA 34FE jsr [PC + 0x34FE /* 00004466 */]
00000F6A 0C6E 0003 FFFE cmpi.w [A6 - 0x2], 0x3
00000F70 6600 0006 bne +0x8 /* 00000F78 */
00000F74 7001 moveq.l D0, 0x01
00000F76 60CA bra -0x34 /* 00000F42 */
label00000F78:
00000F78 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
00000F7E 6700 0006 beq +0x8 /* 00000F86 */
00000F82 7000 moveq.l D0, 0x00
00000F84 60BC bra -0x42 /* 00000F42 */
label00000F86:
00000F86 4267 clr.w -[A7]
00000F88 4EBA 0006 jsr [PC + 0x6 /* 00000F90 */]
00000F8C 544F addq.w A7, 2
00000F8E 60B2 bra -0x4C /* 00000F42 */
fn00000F90:
00000F90 4E56 FFB0 link A6, -0x0050
00000F94 48E7 0000 movem.l -[A7], <none>
00000F98 486E FFB0 pea.l [A6 - 0x50]
00000F9C 3F3C 0082 move.w -[A7], 0x82
00000FA0 3F3C 0001 move.w -[A7], 0x1
00000FA4 4EBA 346A jsr [PC + 0x346A /* 00004410 */]
label00000FA8:
00000FA8 486E FFB0 pea.l [A6 - 0x50]
00000FAC 2F3C 5442 4C54 move.l -[A7], 0x54424C54 /* 'TBLT' */
00000FB2 2F3C 5442 5446 move.l -[A7], 0x54425446 /* 'TBTF' */
00000FB8 486D FE0C pea.l [A5 - 0x1F4]
00000FBC 486D FD88 pea.l [A5 - 0x278]
00000FC0 4A6D FE08 tst.w [A5 - 0x1F8]
00000FC4 6600 000A bne +0xC /* 00000FD0 */
00000FC8 4A6E 0008 tst.w [A6 + 0x8]
00000FCC 6700 000A beq +0xC /* 00000FD8 */
label00000FD0:
00000FD0 363C 0001 move.w D3, 0x1
00000FD4 6000 0004 bra +0x6 /* 00000FDA */
label00000FD8:
00000FD8 4243 clr.w D3
label00000FDA:
00000FDA 3F03 move.w -[A7], D3
00000FDC 4EBA 0528 jsr [PC + 0x528 /* 00001506 */]
00000FE0 DEFC 0016 add.w A7, 0x16
00000FE4 4A40 tst.w D0
00000FE6 6600 000C bne +0xE /* 00000FF4 */
00000FEA 7000 moveq.l D0, 0x00
label00000FEC:
00000FEC 4CDF 0000 movem.l <none>, [A7]+
00000FF0 4E5E unlink A6
00000FF2 4E75 rts
label00000FF4:
00000FF4 2F2D FCEC move.l -[A7], [A5 - 0x314]
00000FF8 486D FD88 pea.l [A5 - 0x278]
00000FFC A91A syscall SetWTitle
00000FFE 4EBA 0078 jsr [PC + 0x78 /* 00001078 */]
00001002 4A40 tst.w D0
00001004 6600 000C bne +0xE /* 00001012 */
00001008 3B7C 0001 FE08 move.w [A5 - 0x1F8], 0x1
0000100E 6000 0006 bra +0x8 /* 00001016 */
label00001012:
00001012 426D FE08 clr.w [A5 - 0x1F8]
label00001016:
00001016 4A6D FE08 tst.w [A5 - 0x1F8]
0000101A 668C bne -0x72 /* 00000FA8 */
0000101C 7001 moveq.l D0, 0x01
0000101E 60CC bra -0x32 /* 00000FEC */
fn00001020:
00001020 4E56 0000 link A6, 0
00001024 48E7 0000 movem.l -[A7], <none>
label00001028:
00001028 2F3C 5442 5446 move.l -[A7], 0x54425446 /* 'TBTF' */
0000102E 486D FE0C pea.l [A5 - 0x1F4]
00001032 486D FD88 pea.l [A5 - 0x278]
00001036 4EBA 0640 jsr [PC + 0x640 /* 00001678 */]
0000103A DEFC 000C add.w A7, 0xC
0000103E 4A40 tst.w D0
00001040 6600 000C bne +0xE /* 0000104E */
00001044 7000 moveq.l D0, 0x00
label00001046:
00001046 4CDF 0000 movem.l <none>, [A7]+
0000104A 4E5E unlink A6
0000104C 4E75 rts
label0000104E:
0000104E 2F2D FCEC move.l -[A7], [A5 - 0x314]
00001052 486D FD88 pea.l [A5 - 0x278]
00001056 A91A syscall SetWTitle
00001058 4EBA 0170 jsr [PC + 0x170 /* 000011CA */]
0000105C 4A40 tst.w D0
0000105E 6600 000C bne +0xE /* 0000106C */
00001062 3B7C 0001 FE08 move.w [A5 - 0x1F8], 0x1
00001068 6000 0006 bra +0x8 /* 00001070 */
label0000106C:
0000106C 426D FE08 clr.w [A5 - 0x1F8]
label00001070:
00001070 4A6D FE08 tst.w [A5 - 0x1F8]
00001074 66B2 bne -0x4C /* 00001028 */
00001076 60CE bra -0x30 /* 00001046 */
fn00001078:
00001078 4E56 FFEE link A6, -0x0012
0000107C 48E7 0000 movem.l -[A7], <none>
00001080 486E FFFC pea.l [A6 - 0x4]
00001084 3F2D FE0C move.w -[A7], [A5 - 0x1F4]
00001088 486D FD88 pea.l [A5 - 0x278]
0000108C 4EBA 2C48 jsr [PC + 0x2C48 /* 00003CD6 */]
00001090 DEFC 000A add.w A7, 0xA /* '\n' */
00001094 3D40 FFFE move.w [A6 - 0x2], D0
00001098 4A40 tst.w D0
0000109A 6700 0016 beq +0x18 /* 000010B2 */
0000109E 3F2E FFFE move.w -[A7], [A6 - 0x2]
000010A2 4EBA FCE0 jsr [PC - 0x320 /* 00000D84 */]
000010A6 544F addq.w A7, 2
000010A8 7000 moveq.l D0, 0x00
label000010AA:
000010AA 4CDF 0000 movem.l <none>, [A7]+
000010AE 4E5E unlink A6
000010B0 4E75 rts
label000010B2:
000010B2 426E FFF2 clr.w [A6 - 0xE]
000010B6 45ED FE0E lea.l A2, [A5 - 0x1F2]
000010BA 2D4A FFF8 move.l [A6 - 0x8], A2
label000010BE:
000010BE 362E FFF2 move.w D3, [A6 - 0xE]
000010C2 B66D FCF2 cmp.w D3, [A5 - 0x30E]
000010C6 6C00 0068 bge +0x6A /* 00001130 */
000010CA 362D FCF2 move.w D3, [A5 - 0x30E]
000010CE 966E FFF2 sub.w D3, [A6 - 0xE]
000010D2 48C3 ext.l D3
000010D4 2D43 FFF4 move.l [A6 - 0xC], D3
000010D8 0CAE 0000 000A FFF4 cmpi.l [A6 - 0xC], 0xA /* '\n' */
000010E0 6F00 000A ble +0xC /* 000010EC */
000010E4 2D7C 0000 000A FFF4 move.l [A6 - 0xC], 0xA /* '\n' */
label000010EC:
000010EC 202E FFF4 move.l D0, [A6 - 0xC]
000010F0 7215 moveq.l D1, 0x15
000010F2 4EBA 2DF2 jsr [PC + 0x2DF2 /* 00003EE6 */]
000010F6 2D40 FFF4 move.l [A6 - 0xC], D0
000010FA 246E FFF8 movea.l A2, [A6 - 0x8]
000010FE 588A addq.l A2, 4
00001100 2F0A move.l -[A7], A2
00001102 486E FFF4 pea.l [A6 - 0xC]
00001106 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000110A 4EBA 2BF8 jsr [PC + 0x2BF8 /* 00003D04 */]
0000110E DEFC 000A add.w A7, 0xA /* '\n' */
00001112 3D40 FFFE move.w [A6 - 0x2], D0
00001116 4A40 tst.w D0
00001118 6700 0006 beq +0x8 /* 00001120 */
0000111C 6000 0086 bra +0x88 /* 000011A4 */
label00001120:
00001120 066E 000A FFF2 addi.w [A6 - 0xE], 0xA /* '\n' */
00001126 246E FFF8 movea.l A2, [A6 - 0x8]
0000112A 2D52 FFF8 move.l [A6 - 0x8], [A2]
0000112E 608E bra -0x70 /* 000010BE */
label00001130:
00001130 486E FFEE pea.l [A6 - 0x12]
00001134 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001138 4EBA 2C52 jsr [PC + 0x2C52 /* 00003D8C */]
0000113C 5C4F addq.w A7, 6
0000113E 3D40 FFFE move.w [A6 - 0x2], D0
00001142 4A40 tst.w D0
00001144 6600 005E bne +0x60 /* 000011A4 */
00001148 2F2E FFEE move.l -[A7], [A6 - 0x12]
0000114C 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001150 4EBA 2C56 jsr [PC + 0x2C56 /* 00003DA8 */]
00001154 5C4F addq.w A7, 6
00001156 3D40 FFFE move.w [A6 - 0x2], D0
0000115A 4A40 tst.w D0
0000115C 6600 0046 bne +0x48 /* 000011A4 */
00001160 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001164 4EBA 2B5C jsr [PC + 0x2B5C /* 00003CC2 */]
00001168 544F addq.w A7, 2
0000116A 3D40 FFFE move.w [A6 - 0x2], D0
0000116E 4A40 tst.w D0
00001170 6600 003C bne +0x3E /* 000011AE */
00001174 3F2D FE0C move.w -[A7], [A5 - 0x1F4]
00001178 42A7 clr.l -[A7]
0000117A 4EBA 2B2C jsr [PC + 0x2B2C /* 00003CA8 */]
0000117E 5C4F addq.w A7, 6
00001180 3D40 FFFE move.w [A6 - 0x2], D0
00001184 4A40 tst.w D0
00001186 6700 0012 beq +0x14 /* 0000119A */
0000118A 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000118E 4EBA FBF4 jsr [PC - 0x40C /* 00000D84 */]
00001192 544F addq.w A7, 2
00001194 7000 moveq.l D0, 0x00
00001196 6000 FF12 bra -0xEC /* 000010AA */
label0000119A:
0000119A 426D FE0A clr.w [A5 - 0x1F6]
0000119E 7001 moveq.l D0, 0x01
000011A0 6000 FF08 bra -0xF6 /* 000010AA */
label000011A4:
000011A4 3F2E FFFC move.w -[A7], [A6 - 0x4]
000011A8 4EBA 2B18 jsr [PC + 0x2B18 /* 00003CC2 */]
000011AC 544F addq.w A7, 2
label000011AE:
000011AE 3F2D FE0C move.w -[A7], [A5 - 0x1F4]
000011B2 42A7 clr.l -[A7]
000011B4 4EBA 2AF2 jsr [PC + 0x2AF2 /* 00003CA8 */]
000011B8 5C4F addq.w A7, 6
000011BA 3F2E FFFE move.w -[A7], [A6 - 0x2]
000011BE 4EBA FBC4 jsr [PC - 0x43C /* 00000D84 */]
000011C2 544F addq.w A7, 2
000011C4 7000 moveq.l D0, 0x00
000011C6 6000 FEE2 bra -0x11C /* 000010AA */
fn000011CA:
000011CA 4E56 FFEE link A6, -0x0012
000011CE 48E7 0000 movem.l -[A7], <none>
000011D2 486E FFFC pea.l [A6 - 0x4]
000011D6 3F2D FE0C move.w -[A7], [A5 - 0x1F4]
000011DA 486D FD88 pea.l [A5 - 0x278]
000011DE 4EBA 2AF6 jsr [PC + 0x2AF6 /* 00003CD6 */]
000011E2 DEFC 000A add.w A7, 0xA /* '\n' */
000011E6 3D40 FFFE move.w [A6 - 0x2], D0
000011EA 4A40 tst.w D0
000011EC 6700 0016 beq +0x18 /* 00001204 */
000011F0 3F2E FFFE move.w -[A7], [A6 - 0x2]
000011F4 4EBA FB8E jsr [PC - 0x472 /* 00000D84 */]
000011F8 544F addq.w A7, 2
000011FA 7000 moveq.l D0, 0x00
label000011FC:
000011FC 4CDF 0000 movem.l <none>, [A7]+
00001200 4E5E unlink A6
00001202 4E75 rts
label00001204:
00001204 486E FFEE pea.l [A6 - 0x12]
00001208 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000120C 4EBA 2B32 jsr [PC + 0x2B32 /* 00003D40 */]
00001210 5C4F addq.w A7, 6
00001212 3D40 FFFE move.w [A6 - 0x2], D0
00001216 4A40 tst.w D0
00001218 6700 0010 beq +0x12 /* 0000122A */
0000121C 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001220 4EBA FB62 jsr [PC - 0x49E /* 00000D84 */]
00001224 544F addq.w A7, 2
00001226 7000 moveq.l D0, 0x00
00001228 60D2 bra -0x2C /* 000011FC */
label0000122A:
0000122A 202E FFEE move.l D0, [A6 - 0x12]
0000122E 7215 moveq.l D1, 0x15
00001230 4EBA 2C10 jsr [PC + 0x2C10 /* 00003E42 */]
00001234 2D40 FFEE move.l [A6 - 0x12], D0
00001238 0CAE 0000 0001 FFEE cmpi.l [A6 - 0x12], 0x1
00001240 6C00 0010 bge +0x12 /* 00001252 */
00001244 3F3C 0003 move.w -[A7], 0x3
00001248 4EBA FBC4 jsr [PC - 0x43C /* 00000E0E */]
0000124C 544F addq.w A7, 2
0000124E 7000 moveq.l D0, 0x00
00001250 60AA bra -0x54 /* 000011FC */
label00001252:
00001252 3B6E FFF0 FCF2 move.w [A5 - 0x30E], [A6 - 0x10]
00001258 426D FE0A clr.w [A5 - 0x1F6]
0000125C 426E FFF2 clr.w [A6 - 0xE]
00001260 45ED FE0E lea.l A2, [A5 - 0x1F2]
00001264 2D4A FFF8 move.l [A6 - 0x8], A2
label00001268:
00001268 362E FFF2 move.w D3, [A6 - 0xE]
0000126C B66D FCF2 cmp.w D3, [A5 - 0x30E]
00001270 6C00 00B0 bge +0xB2 /* 00001322 */
00001274 362D FCF2 move.w D3, [A5 - 0x30E]
00001278 966E FFF2 sub.w D3, [A6 - 0xE]
0000127C 48C3 ext.l D3
0000127E 2D43 FFF4 move.l [A6 - 0xC], D3
00001282 0CAE 0000 000A FFF4 cmpi.l [A6 - 0xC], 0xA /* '\n' */
0000128A 6F00 000A ble +0xC /* 00001296 */
0000128E 2D7C 0000 000A FFF4 move.l [A6 - 0xC], 0xA /* '\n' */
label00001296:
00001296 202E FFF4 move.l D0, [A6 - 0xC]
0000129A 7215 moveq.l D1, 0x15
0000129C 4EBA 2C48 jsr [PC + 0x2C48 /* 00003EE6 */]
000012A0 2D40 FFF4 move.l [A6 - 0xC], D0
000012A4 246E FFF8 movea.l A2, [A6 - 0x8]
000012A8 588A addq.l A2, 4
000012AA 2F0A move.l -[A7], A2
000012AC 486E FFF4 pea.l [A6 - 0xC]
000012B0 3F2E FFFC move.w -[A7], [A6 - 0x4]
000012B4 4EBA 2A4A jsr [PC + 0x2A4A /* 00003D00 */]
000012B8 DEFC 000A add.w A7, 0xA /* '\n' */
000012BC 3D40 FFFE move.w [A6 - 0x2], D0
000012C0 4A40 tst.w D0
000012C2 6700 0006 beq +0x8 /* 000012CA */
000012C6 6000 0094 bra +0x96 /* 0000135C */
label000012CA:
000012CA 362E FFF2 move.w D3, [A6 - 0xE]
000012CE D67C 000A add.w D3, 0xA /* '\n' */
000012D2 B66D FCF2 cmp.w D3, [A5 - 0x30E]
000012D6 6C00 0038 bge +0x3A /* 00001310 */
000012DA 246E FFF8 movea.l A2, [A6 - 0x8]
000012DE 4A92 tst.l [A2]
000012E0 6600 002E bne +0x30 /* 00001310 */
000012E4 246E FFF8 movea.l A2, [A6 - 0x8]
000012E8 2F0A move.l -[A7], A2
000012EA 3F3C 00D6 move.w -[A7], 0xD6
000012EE 4EBA 2C30 jsr [PC + 0x2C30 /* 00003F20 */]
000012F2 544F addq.w A7, 2
000012F4 245F movea.l A2, [A7]+
000012F6 2480 move.l [A2], D0
000012F8 4A80 tst.l D0
000012FA 6600 000C bne +0xE /* 00001308 */
000012FE 3D7C FF94 FFFE move.w [A6 - 0x2], 0xFF94
00001304 6000 0056 bra +0x58 /* 0000135C */
label00001308:
00001308 246E FFF8 movea.l A2, [A6 - 0x8]
0000130C 2252 movea.l A1, [A2]
0000130E 4291 clr.l [A1]
label00001310:
00001310 066E 000A FFF2 addi.w [A6 - 0xE], 0xA /* '\n' */
00001316 246E FFF8 movea.l A2, [A6 - 0x8]
0000131A 2D52 FFF8 move.l [A6 - 0x8], [A2]
0000131E 6000 FF48 bra -0xB6 /* 00001268 */
label00001322:
00001322 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001326 4EBA 299A jsr [PC + 0x299A /* 00003CC2 */]
0000132A 544F addq.w A7, 2
0000132C 3F2D FE0C move.w -[A7], [A5 - 0x1F4]
00001330 42A7 clr.l -[A7]
00001332 4EBA 2974 jsr [PC + 0x2974 /* 00003CA8 */]
00001336 5C4F addq.w A7, 6
00001338 4EBA F84E jsr [PC - 0x7B2 /* 00000B88 */]
0000133C 362D FCF2 move.w D3, [A5 - 0x30E]
00001340 5343 subq.w D3, 1
00001342 3F03 move.w -[A7], D3
00001344 4EBA 2000 jsr [PC + 0x2000 /* 00003346 */]
00001348 544F addq.w A7, 2
0000134A 4EBA 2086 jsr [PC + 0x2086 /* 000033D2 */]
0000134E 4267 clr.w -[A7]
00001350 4EBA F4BC jsr [PC - 0xB44 /* 0000080E */]
00001354 544F addq.w A7, 2
00001356 7001 moveq.l D0, 0x01
00001358 6000 FEA2 bra -0x15C /* 000011FC */
label0000135C:
0000135C 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001360 4EBA 2960 jsr [PC + 0x2960 /* 00003CC2 */]
00001364 544F addq.w A7, 2
00001366 3F2D FE0C move.w -[A7], [A5 - 0x1F4]
0000136A 42A7 clr.l -[A7]
0000136C 4EBA 293A jsr [PC + 0x293A /* 00003CA8 */]
00001370 5C4F addq.w A7, 6
00001372 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001376 4EBA FA0C jsr [PC - 0x5F4 /* 00000D84 */]
0000137A 544F addq.w A7, 2
0000137C 4EBA FB5E jsr [PC - 0x4A2 /* 00000EDC */]
00001380 7000 moveq.l D0, 0x00
00001382 6000 FE78 bra -0x186 /* 000011FC */
fn00001386:
00001386 4E56 FFFE link A6, -0x0002
0000138A 48E7 0000 movem.l -[A7], <none>
0000138E 2F3C 4150 504C move.l -[A7], 0x4150504C /* 'APPL' */
00001394 486E FFFE pea.l [A6 - 0x2]
00001398 486D F4F8 pea.l [A5 - 0xB08]
0000139C 4EBA 02DA jsr [PC + 0x2DA /* 00001678 */]
000013A0 DEFC 000C add.w A7, 0xC
000013A4 4A40 tst.w D0
000013A6 6600 000A bne +0xC /* 000013B2 */
label000013AA:
000013AA 4CDF 0000 movem.l <none>, [A7]+
000013AE 4E5E unlink A6
000013B0 4E75 rts
label000013B2:
000013B2 45ED F4F8 lea.l A2, [A5 - 0xB08]
000013B6 2B4A F4EE move.l [A5 - 0xB12], A2
000013BA 42AD F4F2 clr.l [A5 - 0xB0E]
000013BE 426D F4F6 clr.w [A5 - 0xB0A]
000013C2 4EBA 24B2 jsr [PC + 0x24B2 /* 00003876 */]
000013C6 3F2E FFFE move.w -[A7], [A6 - 0x2]
000013CA 42A7 clr.l -[A7]
000013CC 4EBA 29F4 jsr [PC + 0x29F4 /* 00003DC2 */]
000013D0 5C4F addq.w A7, 6
000013D2 41ED F4EE lea.l A0, [A5 - 0xB12]
000013D6 A9F2 syscall Launch/LaunchApplication
000013D8 A9F4 syscall ExitToShell
000013DA 60CE bra -0x30 /* 000013AA */
fn000013DC:
000013DC 4E56 0000 link A6, 0
000013E0 48E7 0000 movem.l -[A7], <none>
000013E4 4EBA 2490 jsr [PC + 0x2490 /* 00003876 */]
000013E8 A9F4 syscall ExitToShell
000013EA 4CDF 0000 movem.l <none>, [A7]+
000013EE 4E5E unlink A6
000013F0 4E75 rts
fn000013F2:
000013F2 4E56 0000 link A6, 0
000013F6 48E7 0000 movem.l -[A7], <none>
000013FA 486D F4EC pea.l [A5 - 0xB14]
000013FE 486D F4EA pea.l [A5 - 0xB16]
00001402 4EBA 2F8C jsr [PC + 0x2F8C /* 00004390 */]
00001406 504F addq.w A7, 8
00001408 0C6D 0000 F4EC cmpi.w [A5 - 0xB14], 0x0
0000140E 6F00 000A ble +0xC /* 0000141A */
00001412 303C 0001 move.w D0, 0x1
00001416 6000 0004 bra +0x6 /* 0000141C */
label0000141A:
0000141A 4240 clr.w D0
label0000141C:
0000141C 4CDF 0000 movem.l <none>, [A7]+
00001420 4E5E unlink A6
00001422 4E75 rts
fn00001424:
00001424 4E56 0000 link A6, 0
00001428 48E7 0000 movem.l -[A7], <none>
0000142C 4A6D F4EC tst.w [A5 - 0xB14]
00001430 6700 000C beq +0xE /* 0000143E */
00001434 0C6D 0001 F4EA cmpi.w [A5 - 0xB16], 0x1
0000143A 6700 000C beq +0xE /* 00001448 */
label0000143E:
0000143E 7000 moveq.l D0, 0x00
label00001440:
00001440 4CDF 0000 movem.l <none>, [A7]+
00001444 4E5E unlink A6
00001446 4E75 rts
label00001448:
00001448 7001 moveq.l D0, 0x01
0000144A 60F4 bra -0xA /* 00001440 */
fn0000144C:
0000144C 4E56 FFB6 link A6, -0x004A
00001450 48E7 0000 movem.l -[A7], <none>
00001454 4A6D F4EC tst.w [A5 - 0xB14]
00001458 6700 000A beq +0xC /* 00001464 */
0000145C 4A6D F4EA tst.w [A5 - 0xB16]
00001460 6700 000C beq +0xE /* 0000146E */
label00001464:
00001464 7000 moveq.l D0, 0x00
label00001466:
00001466 4CDF 0000 movem.l <none>, [A7]+
0000146A 4E5E unlink A6
0000146C 4E75 rts
label0000146E:
0000146E 3D7C 0001 FFB6 move.w [A6 - 0x4A], 0x1
label00001474:
00001474 362E FFB6 move.w D3, [A6 - 0x4A]
00001478 B66D F4EC cmp.w D3, [A5 - 0xB14]
0000147C 6E00 0082 bgt +0x84 /* 00001500 */
00001480 486E FFB8 pea.l [A6 - 0x48]
00001484 3F2E FFB6 move.w -[A7], [A6 - 0x4A]
00001488 4EBA 2F4A jsr [PC + 0x2F4A /* 000043D4 */]
0000148C 5C4F addq.w A7, 6
0000148E 0CAE 5442 5446 FFBA cmpi.l [A6 - 0x46], 0x54425446 /* 'TBTF' */
00001496 6600 0060 bne +0x62 /* 000014F8 */
0000149A 162E FFC0 move.b D3, [A6 - 0x40]
0000149E 4883 ext.w D3
000014A0 C67C 00FF and.w D3, 0xFF
000014A4 5243 addq.w D3, 1
000014A6 3F03 move.w -[A7], D3
000014A8 486D FD88 pea.l [A5 - 0x278]
000014AC 486E FFC0 pea.l [A6 - 0x40]
000014B0 4EBA 2B12 jsr [PC + 0x2B12 /* 00003FC4 */]
000014B4 DEFC 000A add.w A7, 0xA /* '\n' */
000014B8 3B6E FFB8 FE0C move.w [A5 - 0x1F4], [A6 - 0x48]
000014BE 2F2D FCEC move.l -[A7], [A5 - 0x314]
000014C2 486D FD88 pea.l [A5 - 0x278]
000014C6 A91A syscall SetWTitle
000014C8 4EBA FD00 jsr [PC - 0x300 /* 000011CA */]
000014CC 4A40 tst.w D0
000014CE 6600 000C bne +0xE /* 000014DC */
000014D2 3B7C 0001 FE08 move.w [A5 - 0x1F8], 0x1
000014D8 6000 0006 bra +0x8 /* 000014E0 */
label000014DC:
000014DC 426D FE08 clr.w [A5 - 0x1F8]
label000014E0:
000014E0 4A6D FE08 tst.w [A5 - 0x1F8]
000014E4 6600 0012 bne +0x14 /* 000014F8 */
000014E8 3F2E FFB6 move.w -[A7], [A6 - 0x4A]
000014EC 4EBA 2E70 jsr [PC + 0x2E70 /* 0000435E */]
000014F0 544F addq.w A7, 2
000014F2 7001 moveq.l D0, 0x01
000014F4 6000 FF70 bra -0x8E /* 00001466 */
label000014F8:
000014F8 526E FFB6 addq.w [A6 - 0x4A], 1
000014FC 6000 FF76 bra -0x88 /* 00001474 */
label00001500:
00001500 7000 moveq.l D0, 0x00
00001502 6000 FF62 bra -0x9C /* 00001466 */
fn00001506:
00001506 4E56 FF9E link A6, -0x0062
0000150A 48E7 0000 movem.l -[A7], <none>
0000150E 246E 000A movea.l A2, [A6 + 0xA]
00001512 1612 move.b D3, [A2]
00001514 4883 ext.w D3
00001516 C67C 00FF and.w D3, 0xFF
0000151A 5243 addq.w D3, 1
0000151C 3F03 move.w -[A7], D3
0000151E 486E FFBE pea.l [A6 - 0x42]
00001522 2F2E 000A move.l -[A7], [A6 + 0xA]
00001526 4EBA 2A9C jsr [PC + 0x2A9C /* 00003FC4 */]
0000152A DEFC 000A add.w A7, 0xA /* '\n' */
0000152E 246E 000E movea.l A2, [A6 + 0xE]
00001532 3D52 FFBA move.w [A6 - 0x46], [A2]
00001536 3D7C 005A FFB2 move.w [A6 - 0x4E], 0x5A /* 'Z' */
0000153C 3D7C 0064 FFB0 move.w [A6 - 0x50], 0x64 /* 'd' */
00001542 426E FFFE clr.w [A6 - 0x2]
label00001546:
00001546 4A6E FFFE tst.w [A6 - 0x2]
0000154A 6600 0100 bne +0x102 /* 0000164C */
0000154E 4A6E 0008 tst.w [A6 + 0x8]
00001552 6700 002A beq +0x2C /* 0000157E */
00001556 2F2E FFB0 move.l -[A7], [A6 - 0x50]
0000155A 2F2E 001A move.l -[A7], [A6 + 0x1A]
0000155E 486E FFBE pea.l [A6 - 0x42]
00001562 42A7 clr.l -[A7]
00001564 486E FFB4 pea.l [A6 - 0x4C]
00001568 4EBA 28C8 jsr [PC + 0x28C8 /* 00003E32 */]
0000156C 4A2E FFB4 tst.b [A6 - 0x4C]
00001570 6600 000C bne +0xE /* 0000157E */
00001574 7000 moveq.l D0, 0x00
label00001576:
00001576 4CDF 0000 movem.l <none>, [A7]+
0000157A 4E5E unlink A6
0000157C 4E75 rts
label0000157E:
0000157E 3D7C 0001 0008 move.w [A6 + 0x8], 0x1
00001584 486E FFA0 pea.l [A6 - 0x60]
00001588 3F2E FFBA move.w -[A7], [A6 - 0x46]
0000158C 486E FFBE pea.l [A6 - 0x42]
00001590 4EBA 27CA jsr [PC + 0x27CA /* 00003D5C */]
00001594 DEFC 000A add.w A7, 0xA /* '\n' */
00001598 3D40 FF9E move.w [A6 - 0x62], D0
0000159C 4A6E FF9E tst.w [A6 - 0x62]
000015A0 6700 0018 beq +0x1A /* 000015BA */
000015A4 0C6E FFD5 FF9E cmpi.w [A6 - 0x62], 0xFFD5
000015AA 6700 000E beq +0x10 /* 000015BA */
000015AE 3F2E FF9E move.w -[A7], [A6 - 0x62]
000015B2 4EBA F7D0 jsr [PC - 0x830 /* 00000D84 */]
000015B6 544F addq.w A7, 2
000015B8 608C bra -0x72 /* 00001546 */
label000015BA:
000015BA 4A6E FF9E tst.w [A6 - 0x62]
000015BE 6600 0026 bne +0x28 /* 000015E6 */
000015C2 262E FFA0 move.l D3, [A6 - 0x60]
000015C6 B6AE 0012 cmp.l D3, [A6 + 0x12]
000015CA 6600 000C bne +0xE /* 000015D8 */
000015CE 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
000015D4 6000 0010 bra +0x12 /* 000015E6 */
label000015D8:
000015D8 3F3C 0002 move.w -[A7], 0x2
000015DC 4EBA F830 jsr [PC - 0x7D0 /* 00000E0E */]
000015E0 544F addq.w A7, 2
000015E2 6000 FF62 bra -0x9C /* 00001546 */
label000015E6:
000015E6 4A6E FFFE tst.w [A6 - 0x2]
000015EA 6600 005C bne +0x5E /* 00001648 */
000015EE 2F2E 0012 move.l -[A7], [A6 + 0x12]
000015F2 2F2E 0016 move.l -[A7], [A6 + 0x16]
000015F6 3F2E FFBA move.w -[A7], [A6 - 0x46]
000015FA 486E FFBE pea.l [A6 - 0x42]
000015FE 4EBA 2672 jsr [PC + 0x2672 /* 00003C72 */]
00001602 DEFC 000E add.w A7, 0xE
00001606 3D40 FF9E move.w [A6 - 0x62], D0
0000160A 4A40 tst.w D0
0000160C 6700 0010 beq +0x12 /* 0000161E */
00001610 3F2E FF9E move.w -[A7], [A6 - 0x62]
00001614 4EBA F76E jsr [PC - 0x892 /* 00000D84 */]
00001618 544F addq.w A7, 2
0000161A 6000 FF2A bra -0xD4 /* 00001546 */
label0000161E:
0000161E 3F2E FFBA move.w -[A7], [A6 - 0x46]
00001622 42A7 clr.l -[A7]
00001624 4EBA 2682 jsr [PC + 0x2682 /* 00003CA8 */]
00001628 5C4F addq.w A7, 6
0000162A 3D40 FF9E move.w [A6 - 0x62], D0
0000162E 4A40 tst.w D0
00001630 6700 0010 beq +0x12 /* 00001642 */
00001634 3F2E FF9E move.w -[A7], [A6 - 0x62]
00001638 4EBA F74A jsr [PC - 0x8B6 /* 00000D84 */]
0000163C 544F addq.w A7, 2
0000163E 6000 FF06 bra -0xF8 /* 00001546 */
label00001642:
00001642 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
label00001648:
00001648 6000 FEFC bra -0x102 /* 00001546 */
label0000164C:
0000164C 162E FFBE move.b D3, [A6 - 0x42]
00001650 4883 ext.w D3
00001652 C67C 00FF and.w D3, 0xFF
00001656 5243 addq.w D3, 1
00001658 3F03 move.w -[A7], D3
0000165A 2F2E 000A move.l -[A7], [A6 + 0xA]
0000165E 486E FFBE pea.l [A6 - 0x42]
00001662 4EBA 2960 jsr [PC + 0x2960 /* 00003FC4 */]
00001666 DEFC 000A add.w A7, 0xA /* '\n' */
0000166A 246E 000E movea.l A2, [A6 + 0xE]
0000166E 34AE FFBA move.w [A2], [A6 - 0x46]
00001672 7001 moveq.l D0, 0x01
00001674 6000 FF00 bra -0xFE /* 00001576 */
fn00001678:
00001678 4E56 FFA2 link A6, -0x005E
0000167C 48E7 0000 movem.l -[A7], <none>
00001680 3D7C 005A FFB4 move.w [A6 - 0x4C], 0x5A /* 'Z' */
00001686 3D7C 0064 FFB2 move.w [A6 - 0x4E], 0x64 /* 'd' */
0000168C 2D6E 0010 FFA2 move.l [A6 - 0x5E], [A6 + 0x10]
00001692 2F2E FFB2 move.l -[A7], [A6 - 0x4E]
00001696 42A7 clr.l -[A7]
00001698 42A7 clr.l -[A7]
0000169A 3F3C 0001 move.w -[A7], 0x1
0000169E 486E FFA2 pea.l [A6 - 0x5E]
000016A2 42A7 clr.l -[A7]
000016A4 486E FFB6 pea.l [A6 - 0x4A]
000016A8 4EBA 278E jsr [PC + 0x278E /* 00003E38 */]
000016AC 4A2E FFB6 tst.b [A6 - 0x4A]
000016B0 6600 000C bne +0xE /* 000016BE */
000016B4 7000 moveq.l D0, 0x00
label000016B6:
000016B6 4CDF 0000 movem.l <none>, [A7]+
000016BA 4E5E unlink A6
000016BC 4E75 rts
label000016BE:
000016BE 162E FFC0 move.b D3, [A6 - 0x40]
000016C2 4883 ext.w D3
000016C4 C67C 00FF and.w D3, 0xFF
000016C8 5243 addq.w D3, 1
000016CA 3F03 move.w -[A7], D3
000016CC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000016D0 486E FFC0 pea.l [A6 - 0x40]
000016D4 4EBA 28EE jsr [PC + 0x28EE /* 00003FC4 */]
000016D8 DEFC 000A add.w A7, 0xA /* '\n' */
000016DC 246E 000C movea.l A2, [A6 + 0xC]
000016E0 34AE FFBC move.w [A2], [A6 - 0x44]
000016E4 7001 moveq.l D0, 0x01
000016E6 60CE bra -0x30 /* 000016B6 */
fn000016E8:
000016E8 4E56 FFFE link A6, -0x0002
000016EC 48E7 0000 movem.l -[A7], <none>
000016F0 426E FFFE clr.w [A6 - 0x2]
label000016F4:
000016F4 0C6E 0019 FFFE cmpi.w [A6 - 0x2], 0x19
000016FA 6C00 0012 bge +0x14 /* 0000170E */
000016FE 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001702 4EBA 068C jsr [PC + 0x68C /* 00001D90 */]
00001706 544F addq.w A7, 2
00001708 526E FFFE addq.w [A6 - 0x2], 1
0000170C 60E6 bra -0x18 /* 000016F4 */
label0000170E:
0000170E 3F3C FFFE move.w -[A7], 0xFFFE
00001712 4267 clr.w -[A7]
00001714 4267 clr.w -[A7]
00001716 4EBA 045A jsr [PC + 0x45A /* 00001B72 */]
0000171A 5C4F addq.w A7, 6
0000171C 3F3C FFFF move.w -[A7], 0xFFFF
00001720 4267 clr.w -[A7]
00001722 3F3C 0001 move.w -[A7], 0x1
00001726 4EBA 044A jsr [PC + 0x44A /* 00001B72 */]
0000172A 5C4F addq.w A7, 6
0000172C 4267 clr.w -[A7]
0000172E 3F3C FFFE move.w -[A7], 0xFFFE
00001732 3F3C 0002 move.w -[A7], 0x2
00001736 4EBA 043A jsr [PC + 0x43A /* 00001B72 */]
0000173A 5C4F addq.w A7, 6
0000173C 4267 clr.w -[A7]
0000173E 3F3C FFFF move.w -[A7], 0xFFFF
00001742 3F3C 0003 move.w -[A7], 0x3
00001746 4EBA 042A jsr [PC + 0x42A /* 00001B72 */]
0000174A 5C4F addq.w A7, 6
0000174C 4267 clr.w -[A7]
0000174E 3F3C 0001 move.w -[A7], 0x1
00001752 3F3C 0004 move.w -[A7], 0x4
00001756 4EBA 041A jsr [PC + 0x41A /* 00001B72 */]
0000175A 5C4F addq.w A7, 6
0000175C 4267 clr.w -[A7]
0000175E 3F3C 0002 move.w -[A7], 0x2
00001762 3F3C 0005 move.w -[A7], 0x5
00001766 4EBA 040A jsr [PC + 0x40A /* 00001B72 */]
0000176A 5C4F addq.w A7, 6
0000176C 3F3C 0001 move.w -[A7], 0x1
00001770 4267 clr.w -[A7]
00001772 3F3C 0006 move.w -[A7], 0x6
00001776 4EBA 03FA jsr [PC + 0x3FA /* 00001B72 */]
0000177A 5C4F addq.w A7, 6
0000177C 3F3C 0002 move.w -[A7], 0x2
00001780 4267 clr.w -[A7]
00001782 3F3C 0007 move.w -[A7], 0x7
00001786 4EBA 03EA jsr [PC + 0x3EA /* 00001B72 */]
0000178A 5C4F addq.w A7, 6
0000178C 3F3C FFFC move.w -[A7], 0xFFFC
00001790 3F3C FFFF move.w -[A7], 0xFFFF
00001794 3F3C 0008 move.w -[A7], 0x8
00001798 4EBA 03D8 jsr [PC + 0x3D8 /* 00001B72 */]
0000179C 5C4F addq.w A7, 6
0000179E 3F3C FFFC move.w -[A7], 0xFFFC
000017A2 4267 clr.w -[A7]
000017A4 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000017A8 4EBA 03C8 jsr [PC + 0x3C8 /* 00001B72 */]
000017AC 5C4F addq.w A7, 6
000017AE 3F3C FFFC move.w -[A7], 0xFFFC
000017B2 3F3C 0001 move.w -[A7], 0x1
000017B6 3F3C 000A move.w -[A7], 0xA /* '\n' */
000017BA 4EBA 03B6 jsr [PC + 0x3B6 /* 00001B72 */]
000017BE 5C4F addq.w A7, 6
000017C0 3F3C FFFD move.w -[A7], 0xFFFD
000017C4 4267 clr.w -[A7]
000017C6 3F3C 000B move.w -[A7], 0xB
000017CA 4EBA 03A6 jsr [PC + 0x3A6 /* 00001B72 */]
000017CE 5C4F addq.w A7, 6
000017D0 3F3C FFFF move.w -[A7], 0xFFFF
000017D4 3F3C 0004 move.w -[A7], 0x4
000017D8 3F3C 000C move.w -[A7], 0xC
000017DC 4EBA 0394 jsr [PC + 0x394 /* 00001B72 */]
000017E0 5C4F addq.w A7, 6
000017E2 4267 clr.w -[A7]
000017E4 3F3C 0004 move.w -[A7], 0x4
000017E8 3F3C 000D move.w -[A7], 0xD /* '\r' */
000017EC 4EBA 0384 jsr [PC + 0x384 /* 00001B72 */]
000017F0 5C4F addq.w A7, 6
000017F2 3F3C 0001 move.w -[A7], 0x1
000017F6 3F3C 0004 move.w -[A7], 0x4
000017FA 3F3C 000E move.w -[A7], 0xE
000017FE 4EBA 0372 jsr [PC + 0x372 /* 00001B72 */]
00001802 5C4F addq.w A7, 6
00001804 4267 clr.w -[A7]
00001806 3F3C 0003 move.w -[A7], 0x3
0000180A 3F3C 000F move.w -[A7], 0xF
0000180E 4EBA 0362 jsr [PC + 0x362 /* 00001B72 */]
00001812 5C4F addq.w A7, 6
00001814 3F3C 0004 move.w -[A7], 0x4
00001818 3F3C 0001 move.w -[A7], 0x1
0000181C 3F3C 0010 move.w -[A7], 0x10
00001820 4EBA 0350 jsr [PC + 0x350 /* 00001B72 */]
00001824 5C4F addq.w A7, 6
00001826 3F3C 0004 move.w -[A7], 0x4
0000182A 4267 clr.w -[A7]
0000182C 3F3C 0011 move.w -[A7], 0x11
00001830 4EBA 0340 jsr [PC + 0x340 /* 00001B72 */]
00001834 5C4F addq.w A7, 6
00001836 3F3C 0004 move.w -[A7], 0x4
0000183A 3F3C FFFF move.w -[A7], 0xFFFF
0000183E 3F3C 0012 move.w -[A7], 0x12
00001842 4EBA 032E jsr [PC + 0x32E /* 00001B72 */]
00001846 5C4F addq.w A7, 6
00001848 3F3C 0003 move.w -[A7], 0x3
0000184C 4267 clr.w -[A7]
0000184E 3F3C 0013 move.w -[A7], 0x13
00001852 4EBA 031E jsr [PC + 0x31E /* 00001B72 */]
00001856 5C4F addq.w A7, 6
00001858 3F3C 0001 move.w -[A7], 0x1
0000185C 3F3C FFFC move.w -[A7], 0xFFFC
00001860 3F3C 0014 move.w -[A7], 0x14
00001864 4EBA 030C jsr [PC + 0x30C /* 00001B72 */]
00001868 5C4F addq.w A7, 6
0000186A 4267 clr.w -[A7]
0000186C 3F3C FFFC move.w -[A7], 0xFFFC
00001870 3F3C 0015 move.w -[A7], 0x15
00001874 4EBA 02FC jsr [PC + 0x2FC /* 00001B72 */]
00001878 5C4F addq.w A7, 6
0000187A 3F3C FFFF move.w -[A7], 0xFFFF
0000187E 3F3C FFFC move.w -[A7], 0xFFFC
00001882 3F3C 0016 move.w -[A7], 0x16
00001886 4EBA 02EA jsr [PC + 0x2EA /* 00001B72 */]
0000188A 5C4F addq.w A7, 6
0000188C 4267 clr.w -[A7]
0000188E 3F3C FFFD move.w -[A7], 0xFFFD
00001892 3F3C 0017 move.w -[A7], 0x17
00001896 4EBA 02DA jsr [PC + 0x2DA /* 00001B72 */]
0000189A 5C4F addq.w A7, 6
0000189C 4267 clr.w -[A7]
0000189E 4267 clr.w -[A7]
000018A0 3F3C 0018 move.w -[A7], 0x18
000018A4 4EBA 02CC jsr [PC + 0x2CC /* 00001B72 */]
000018A8 5C4F addq.w A7, 6
000018AA 4CDF 0000 movem.l <none>, [A7]+
000018AE 4E5E unlink A6
000018B0 4E75 rts
fn000018B2:
000018B2 4E56 0000 link A6, 0
000018B6 48E7 0000 movem.l -[A7], <none>
000018BA 486D FEE4 pea.l [A5 - 0x11C]
000018BE 3F3C FFFA move.w -[A7], 0xFFFA
000018C2 4267 clr.w -[A7]
000018C4 A880 syscall SetPt
000018C6 486D FEE4 pea.l [A5 - 0x11C]
000018CA 4EBA 0570 jsr [PC + 0x570 /* 00001E3C */]
000018CE 584F addq.w A7, 4
000018D0 486D FEEC pea.l [A5 - 0x114]
000018D4 3F3C FFFA move.w -[A7], 0xFFFA
000018D8 3F3C 0001 move.w -[A7], 0x1
000018DC A880 syscall SetPt
000018DE 486D FEEC pea.l [A5 - 0x114]
000018E2 4EBA 0558 jsr [PC + 0x558 /* 00001E3C */]
000018E6 584F addq.w A7, 4
000018E8 486D FEF4 pea.l [A5 - 0x10C]
000018EC 3F3C FFFA move.w -[A7], 0xFFFA
000018F0 3F3C 0002 move.w -[A7], 0x2
000018F4 A880 syscall SetPt
000018F6 486D FEF4 pea.l [A5 - 0x10C]
000018FA 4EBA 0540 jsr [PC + 0x540 /* 00001E3C */]
000018FE 584F addq.w A7, 4
00001900 486D FEFC pea.l [A5 - 0x104]
00001904 3F3C FFFA move.w -[A7], 0xFFFA
00001908 3F3C 0003 move.w -[A7], 0x3
0000190C A880 syscall SetPt
0000190E 486D FEFC pea.l [A5 - 0x104]
00001912 4EBA 0528 jsr [PC + 0x528 /* 00001E3C */]
00001916 584F addq.w A7, 4
00001918 486D FF04 pea.l [A5 - 0xFC]
0000191C 3F3C FFFA move.w -[A7], 0xFFFA
00001920 3F3C 0004 move.w -[A7], 0x4
00001924 A880 syscall SetPt
00001926 486D FF04 pea.l [A5 - 0xFC]
0000192A 4EBA 0510 jsr [PC + 0x510 /* 00001E3C */]
0000192E 584F addq.w A7, 4
00001930 486D FF0C pea.l [A5 - 0xF4]
00001934 3F3C FFF9 move.w -[A7], 0xFFF9
00001938 3F3C 0001 move.w -[A7], 0x1
0000193C A880 syscall SetPt
0000193E 486D FF0C pea.l [A5 - 0xF4]
00001942 4EBA 04F8 jsr [PC + 0x4F8 /* 00001E3C */]
00001946 584F addq.w A7, 4
00001948 486D FF14 pea.l [A5 - 0xEC]
0000194C 3F3C FFF9 move.w -[A7], 0xFFF9
00001950 3F3C 0002 move.w -[A7], 0x2
00001954 A880 syscall SetPt
00001956 486D FF14 pea.l [A5 - 0xEC]
0000195A 4EBA 04E0 jsr [PC + 0x4E0 /* 00001E3C */]
0000195E 584F addq.w A7, 4
00001960 486D FF1C pea.l [A5 - 0xE4]
00001964 3F3C FFF9 move.w -[A7], 0xFFF9
00001968 3F3C 0003 move.w -[A7], 0x3
0000196C A880 syscall SetPt
0000196E 486D FF1C pea.l [A5 - 0xE4]
00001972 4EBA 04C8 jsr [PC + 0x4C8 /* 00001E3C */]
00001976 584F addq.w A7, 4
00001978 486D FF24 pea.l [A5 - 0xDC]
0000197C 3F3C FFF9 move.w -[A7], 0xFFF9
00001980 3F3C 0004 move.w -[A7], 0x4
00001984 A880 syscall SetPt
00001986 486D FF24 pea.l [A5 - 0xDC]
0000198A 4EBA 04B0 jsr [PC + 0x4B0 /* 00001E3C */]
0000198E 584F addq.w A7, 4
00001990 486D FF2C pea.l [A5 - 0xD4]
00001994 3F3C 0006 move.w -[A7], 0x6
00001998 3F3C FFFD move.w -[A7], 0xFFFD
0000199C A880 syscall SetPt
0000199E 486D FF2C pea.l [A5 - 0xD4]
000019A2 4EBA 0498 jsr [PC + 0x498 /* 00001E3C */]
000019A6 584F addq.w A7, 4
000019A8 486D FF34 pea.l [A5 - 0xCC]
000019AC 3F3C 0006 move.w -[A7], 0x6
000019B0 3F3C FFFE move.w -[A7], 0xFFFE
000019B4 A880 syscall SetPt
000019B6 486D FF34 pea.l [A5 - 0xCC]
000019BA 4EBA 0480 jsr [PC + 0x480 /* 00001E3C */]
000019BE 584F addq.w A7, 4
000019C0 486D FF3C pea.l [A5 - 0xC4]
000019C4 3F3C 0006 move.w -[A7], 0x6
000019C8 3F3C FFFF move.w -[A7], 0xFFFF
000019CC A880 syscall SetPt
000019CE 486D FF3C pea.l [A5 - 0xC4]
000019D2 4EBA 0468 jsr [PC + 0x468 /* 00001E3C */]
000019D6 584F addq.w A7, 4
000019D8 486D FF44 pea.l [A5 - 0xBC]
000019DC 3F3C 0006 move.w -[A7], 0x6
000019E0 4267 clr.w -[A7]
000019E2 A880 syscall SetPt
000019E4 486D FF44 pea.l [A5 - 0xBC]
000019E8 4EBA 0452 jsr [PC + 0x452 /* 00001E3C */]
000019EC 584F addq.w A7, 4
000019EE 486D FF4C pea.l [A5 - 0xB4]
000019F2 3F3C 0006 move.w -[A7], 0x6
000019F6 3F3C 0001 move.w -[A7], 0x1
000019FA A880 syscall SetPt
000019FC 486D FF4C pea.l [A5 - 0xB4]
00001A00 4EBA 043A jsr [PC + 0x43A /* 00001E3C */]
00001A04 584F addq.w A7, 4
00001A06 486D FF54 pea.l [A5 - 0xAC]
00001A0A 3F3C 0006 move.w -[A7], 0x6
00001A0E 3F3C 0002 move.w -[A7], 0x2
00001A12 A880 syscall SetPt
00001A14 486D FF54 pea.l [A5 - 0xAC]
00001A18 4EBA 0422 jsr [PC + 0x422 /* 00001E3C */]
00001A1C 584F addq.w A7, 4
00001A1E 486D FF5C pea.l [A5 - 0xA4]
00001A22 3F3C 0006 move.w -[A7], 0x6
00001A26 3F3C 0003 move.w -[A7], 0x3
00001A2A A880 syscall SetPt
00001A2C 486D FF5C pea.l [A5 - 0xA4]
00001A30 4EBA 040A jsr [PC + 0x40A /* 00001E3C */]
00001A34 584F addq.w A7, 4
00001A36 486D FF64 pea.l [A5 - 0x9C]
00001A3A 3F3C 0006 move.w -[A7], 0x6
00001A3E 3F3C 0004 move.w -[A7], 0x4
00001A42 A880 syscall SetPt
00001A44 486D FF64 pea.l [A5 - 0x9C]
00001A48 4EBA 03F2 jsr [PC + 0x3F2 /* 00001E3C */]
00001A4C 584F addq.w A7, 4
00001A4E 486D FF6C pea.l [A5 - 0x94]
00001A52 3F3C 0007 move.w -[A7], 0x7
00001A56 3F3C FFFD move.w -[A7], 0xFFFD
00001A5A A880 syscall SetPt
00001A5C 486D FF6C pea.l [A5 - 0x94]
00001A60 4EBA 03DA jsr [PC + 0x3DA /* 00001E3C */]
00001A64 584F addq.w A7, 4
00001A66 486D FF74 pea.l [A5 - 0x8C]
00001A6A 3F3C 0007 move.w -[A7], 0x7
00001A6E 3F3C FFFE move.w -[A7], 0xFFFE
00001A72 A880 syscall SetPt
00001A74 486D FF74 pea.l [A5 - 0x8C]
00001A78 4EBA 03C2 jsr [PC + 0x3C2 /* 00001E3C */]
00001A7C 584F addq.w A7, 4
00001A7E 486D FF7C pea.l [A5 - 0x84]
00001A82 3F3C 0007 move.w -[A7], 0x7
00001A86 3F3C FFFF move.w -[A7], 0xFFFF
00001A8A A880 syscall SetPt
00001A8C 486D FF7C pea.l [A5 - 0x84]
00001A90 4EBA 03AA jsr [PC + 0x3AA /* 00001E3C */]
00001A94 584F addq.w A7, 4
00001A96 486D FF84 pea.l [A5 - 0x7C]
00001A9A 3F3C 0007 move.w -[A7], 0x7
00001A9E 4267 clr.w -[A7]
00001AA0 A880 syscall SetPt
00001AA2 486D FF84 pea.l [A5 - 0x7C]
00001AA6 4EBA 0394 jsr [PC + 0x394 /* 00001E3C */]
00001AAA 584F addq.w A7, 4
00001AAC 486D FF8C pea.l [A5 - 0x74]
00001AB0 3F3C 0007 move.w -[A7], 0x7
00001AB4 3F3C 0001 move.w -[A7], 0x1
00001AB8 A880 syscall SetPt
00001ABA 486D FF8C pea.l [A5 - 0x74]
00001ABE 4EBA 037C jsr [PC + 0x37C /* 00001E3C */]
00001AC2 584F addq.w A7, 4
00001AC4 486D FF94 pea.l [A5 - 0x6C]
00001AC8 3F3C 0007 move.w -[A7], 0x7
00001ACC 3F3C 0002 move.w -[A7], 0x2
00001AD0 A880 syscall SetPt
00001AD2 486D FF94 pea.l [A5 - 0x6C]
00001AD6 4EBA 0364 jsr [PC + 0x364 /* 00001E3C */]
00001ADA 584F addq.w A7, 4
00001ADC 486D FF9C pea.l [A5 - 0x64]
00001AE0 3F3C 0007 move.w -[A7], 0x7
00001AE4 3F3C 0003 move.w -[A7], 0x3
00001AE8 A880 syscall SetPt
00001AEA 486D FF9C pea.l [A5 - 0x64]
00001AEE 4EBA 034C jsr [PC + 0x34C /* 00001E3C */]
00001AF2 584F addq.w A7, 4
00001AF4 486D FFA4 pea.l [A5 - 0x5C]
00001AF8 3F3C 0007 move.w -[A7], 0x7
00001AFC 3F3C 0004 move.w -[A7], 0x4
00001B00 A880 syscall SetPt
00001B02 486D FFA4 pea.l [A5 - 0x5C]
00001B06 4EBA 0334 jsr [PC + 0x334 /* 00001E3C */]
00001B0A 584F addq.w A7, 4
00001B0C 4CDF 0000 movem.l <none>, [A7]+
00001B10 4E5E unlink A6
00001B12 4E75 rts
fn00001B14:
00001B14 4E56 FFFC link A6, -0x0004
00001B18 48E7 0000 movem.l -[A7], <none>
00001B1C 45ED F688 lea.l A2, [A5 - 0x978]
00001B20 2B4A FA3A move.l [A5 - 0x5C6], A2
00001B24 3D7C FFFA FFFE move.w [A6 - 0x2], 0xFFFA
label00001B2A:
00001B2A 0C6E 0006 FFFE cmpi.w [A6 - 0x2], 0x6
00001B30 6E00 0038 bgt +0x3A /* 00001B6A */
00001B34 3D7C FFFA FFFC move.w [A6 - 0x4], 0xFFFA
label00001B3A:
00001B3A 0C6E 0006 FFFC cmpi.w [A6 - 0x4], 0x6
00001B40 6E00 0022 bgt +0x24 /* 00001B64 */
00001B44 362E FFFE move.w D3, [A6 - 0x2]
00001B48 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00001B4C 342E FFFC move.w D2, [A6 - 0x4]
00001B50 48C2 ext.l D2
00001B52 E582 asl D2, 2
00001B54 D682 add.l D3, D2
00001B56 246D FA3A movea.l A2, [A5 - 0x5C6]
00001B5A 42B2 3800 clr.l [A2 + D3]
00001B5E 526E FFFC addq.w [A6 - 0x4], 1
00001B62 60D6 bra -0x28 /* 00001B3A */
label00001B64:
00001B64 526E FFFE addq.w [A6 - 0x2], 1
00001B68 60C0 bra -0x3E /* 00001B2A */
label00001B6A:
00001B6A 4CDF 0000 movem.l <none>, [A7]+
00001B6E 4E5E unlink A6
00001B70 4E75 rts
fn00001B72:
00001B72 4E56 FFF8 link A6, -0x0008
00001B76 48E7 0000 movem.l -[A7], <none>
00001B7A 362E 0008 move.w D3, [A6 + 0x8]
00001B7E C6FC 001A mulu.w D3, 0x1A
00001B82 45ED FA4A lea.l A2, [A5 - 0x5B6]
00001B86 D68A add.l D3, A2
00001B88 2D43 FFFC move.l [A6 - 0x4], D3
00001B8C 246E FFFC movea.l A2, [A6 - 0x4]
00001B90 0C6A 0000 0010 cmpi.w [A2 + 0x10], 0x0
00001B96 6D00 0028 blt +0x2A /* 00001BC0 */
00001B9A 246E FFFC movea.l A2, [A6 - 0x4]
00001B9E 0C6A FF9C 0014 cmpi.w [A2 + 0x14], 0xFF9C
00001BA4 6600 001A bne +0x1C /* 00001BC0 */
00001BA8 246E FFFC movea.l A2, [A6 - 0x4]
00001BAC 226A 0016 movea.l A1, [A2 + 0x16]
00001BB0 42A9 0004 clr.l [A1 + 0x4]
00001BB4 246E FFFC movea.l A2, [A6 - 0x4]
00001BB8 43ED F366 lea.l A1, [A5 - 0xC9A]
00001BBC 2549 0016 move.l [A2 + 0x16], A1
label00001BC0:
00001BC0 246E FFFC movea.l A2, [A6 - 0x4]
00001BC4 0C6A FF9C 0014 cmpi.w [A2 + 0x14], 0xFF9C
00001BCA 6700 0024 beq +0x26 /* 00001BF0 */
00001BCE 246E FFFC movea.l A2, [A6 - 0x4]
00001BD2 362A 0014 move.w D3, [A2 + 0x14]
00001BD6 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00001BDA 246E FFFC movea.l A2, [A6 - 0x4]
00001BDE 342A 0012 move.w D2, [A2 + 0x12]
00001BE2 48C2 ext.l D2
00001BE4 E582 asl D2, 2
00001BE6 D682 add.l D3, D2
00001BE8 246D FA3A movea.l A2, [A5 - 0x5C6]
00001BEC 42B2 3800 clr.l [A2 + D3]
label00001BF0:
00001BF0 246E FFFC movea.l A2, [A6 - 0x4]
00001BF4 356E 000A 0014 move.w [A2 + 0x14], [A6 + 0xA]
00001BFA 246E FFFC movea.l A2, [A6 - 0x4]
00001BFE 356E 000C 0012 move.w [A2 + 0x12], [A6 + 0xC]
00001C04 246E FFFC movea.l A2, [A6 - 0x4]
00001C08 362A 0014 move.w D3, [A2 + 0x14]
00001C0C C6FC 0034 mulu.w D3, 0x34 /* '4' */
00001C10 246E FFFC movea.l A2, [A6 - 0x4]
00001C14 342A 0012 move.w D2, [A2 + 0x12]
00001C18 48C2 ext.l D2
00001C1A E582 asl D2, 2
00001C1C D682 add.l D3, D2
00001C1E 246D FA3A movea.l A2, [A5 - 0x5C6]
00001C22 25AE FFFC 3800 move.l [A2 + D3], [A6 - 0x4]
00001C28 3D6E 000A FFFA move.w [A6 - 0x6], [A6 + 0xA]
00001C2E 3D6E 000C FFF8 move.w [A6 - 0x8], [A6 + 0xC]
00001C34 486E FFF8 pea.l [A6 - 0x8]
00001C38 4EBA 0202 jsr [PC + 0x202 /* 00001E3C */]
00001C3C 584F addq.w A7, 4
00001C3E 486E FFF8 pea.l [A6 - 0x8]
00001C42 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001C46 4EBA E5A2 jsr [PC - 0x1A5E /* 000001EA */]
00001C4A 5C4F addq.w A7, 6
00001C4C 4CDF 0000 movem.l <none>, [A7]+
00001C50 4E5E unlink A6
00001C52 4E75 rts
fn00001C54:
00001C54 4E56 FFF2 link A6, -0x000E
00001C58 48E7 0000 movem.l -[A7], <none>
00001C5C 362E 0008 move.w D3, [A6 + 0x8]
00001C60 C6FC 001A mulu.w D3, 0x1A
00001C64 45ED FA4A lea.l A2, [A5 - 0x5B6]
00001C68 D68A add.l D3, A2
00001C6A 2D43 FFFC move.l [A6 - 0x4], D3
00001C6E 246E FFFC movea.l A2, [A6 - 0x4]
00001C72 0C6A FF9C 0014 cmpi.w [A2 + 0x14], 0xFF9C
00001C78 56C3 sne D3
00001C7A C67C 0001 and.w D3, 0x1
00001C7E 3D43 FFFA move.w [A6 - 0x6], D3
00001C82 4A6E FFFA tst.w [A6 - 0x6]
00001C86 6700 0024 beq +0x26 /* 00001CAC */
00001C8A 246E FFFC movea.l A2, [A6 - 0x4]
00001C8E 362A 0014 move.w D3, [A2 + 0x14]
00001C92 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00001C96 246E FFFC movea.l A2, [A6 - 0x4]
00001C9A 342A 0012 move.w D2, [A2 + 0x12]
00001C9E 48C2 ext.l D2
00001CA0 E582 asl D2, 2
00001CA2 D682 add.l D3, D2
00001CA4 246D FA3A movea.l A2, [A5 - 0x5C6]
00001CA8 42B2 3800 clr.l [A2 + D3]
label00001CAC:
00001CAC 246E FFFC movea.l A2, [A6 - 0x4]
00001CB0 357C FF9C 0014 move.w [A2 + 0x14], 0xFF9C
00001CB6 246E FFFC movea.l A2, [A6 - 0x4]
00001CBA 357C FF9C 0012 move.w [A2 + 0x12], 0xFF9C
00001CC0 4A6E FFFA tst.w [A6 - 0x6]
00001CC4 6600 0010 bne +0x12 /* 00001CD6 */
00001CC8 246E FFFC movea.l A2, [A6 - 0x4]
00001CCC 0C6A 0000 0010 cmpi.w [A2 + 0x10], 0x0
00001CD2 6C00 00A2 bge +0xA4 /* 00001D76 */
label00001CD6:
00001CD6 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001CDA 4EBA 03F8 jsr [PC + 0x3F8 /* 000020D4 */]
00001CDE 584F addq.w A7, 4
00001CE0 6000 003E bra +0x40 /* 00001D20 */
label00001CE4:
00001CE4 45ED FEEC lea.l A2, [A5 - 0x114]
00001CE8 2D4A FFF2 move.l [A6 - 0xE], A2
00001CEC 45ED FF24 lea.l A2, [A5 - 0xDC]
00001CF0 2D4A FFF6 move.l [A6 - 0xA], A2
00001CF4 6000 003A bra +0x3C /* 00001D30 */
label00001CF8:
00001CF8 45ED FF2C lea.l A2, [A5 - 0xD4]
00001CFC 2D4A FFF2 move.l [A6 - 0xE], A2
00001D00 45ED FFA4 lea.l A2, [A5 - 0x5C]
00001D04 2D4A FFF6 move.l [A6 - 0xA], A2
00001D08 6000 0026 bra +0x28 /* 00001D30 */
label00001D0C:
00001D0C 45ED FEE4 lea.l A2, [A5 - 0x11C]
00001D10 2D4A FFF2 move.l [A6 - 0xE], A2
00001D14 45ED FEE4 lea.l A2, [A5 - 0x11C]
00001D18 2D4A FFF6 move.l [A6 - 0xA], A2
00001D1C 6000 0012 bra +0x14 /* 00001D30 */
label00001D20:
00001D20 907C 0000 sub.w D0, 0x0
00001D24 67BE beq -0x40 /* 00001CE4 */
00001D26 5140 subq.w D0, 8
00001D28 67CE beq -0x30 /* 00001CF8 */
00001D2A 907C 0010 sub.w D0, 0x10
00001D2E 67DC beq -0x22 /* 00001D0C */
label00001D30:
00001D30 246E FFF2 movea.l A2, [A6 - 0xE]
00001D34 B5EE FFF6 cmpa.l A2, [A6 - 0xA]
00001D38 6200 0014 bhi +0x16 /* 00001D4E */
00001D3C 246E FFF2 movea.l A2, [A6 - 0xE]
00001D40 4AAA 0004 tst.l [A2 + 0x4]
00001D44 6700 0008 beq +0xA /* 00001D4E */
00001D48 50AE FFF2 addq.l [A6 - 0xE], 8
00001D4C 60E2 bra -0x1C /* 00001D30 */
label00001D4E:
00001D4E 246E FFF2 movea.l A2, [A6 - 0xE]
00001D52 B5EE FFF6 cmpa.l A2, [A6 - 0xA]
00001D56 6300 000A bls +0xC /* 00001D62 */
00001D5A 45ED F366 lea.l A2, [A5 - 0xC9A]
00001D5E 2D4A FFF2 move.l [A6 - 0xE], A2
label00001D62:
00001D62 246E FFF2 movea.l A2, [A6 - 0xE]
00001D66 256E FFFC 0004 move.l [A2 + 0x4], [A6 - 0x4]
00001D6C 246E FFFC movea.l A2, [A6 - 0x4]
00001D70 256E FFF2 0016 move.l [A2 + 0x16], [A6 - 0xE]
label00001D76:
00001D76 246E FFFC movea.l A2, [A6 - 0x4]
00001D7A 2F2A 0016 move.l -[A7], [A2 + 0x16]
00001D7E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001D82 4EBA E466 jsr [PC - 0x1B9A /* 000001EA */]
00001D86 5C4F addq.w A7, 6
00001D88 4CDF 0000 movem.l <none>, [A7]+
00001D8C 4E5E unlink A6
00001D8E 4E75 rts
fn00001D90:
00001D90 4E56 FFFC link A6, -0x0004
00001D94 48E7 0000 movem.l -[A7], <none>
00001D98 362E 0008 move.w D3, [A6 + 0x8]
00001D9C C6FC 001A mulu.w D3, 0x1A
00001DA0 45ED FA4A lea.l A2, [A5 - 0x5B6]
00001DA4 D68A add.l D3, A2
00001DA6 2D43 FFFC move.l [A6 - 0x4], D3
00001DAA 246E FFFC movea.l A2, [A6 - 0x4]
00001DAE 0C6A 0000 0010 cmpi.w [A2 + 0x10], 0x0
00001DB4 6D00 0028 blt +0x2A /* 00001DDE */
00001DB8 246E FFFC movea.l A2, [A6 - 0x4]
00001DBC 0C6A FF9C 0014 cmpi.w [A2 + 0x14], 0xFF9C
00001DC2 6600 001A bne +0x1C /* 00001DDE */
00001DC6 246E FFFC movea.l A2, [A6 - 0x4]
00001DCA 226A 0016 movea.l A1, [A2 + 0x16]
00001DCE 42A9 0004 clr.l [A1 + 0x4]
00001DD2 246E FFFC movea.l A2, [A6 - 0x4]
00001DD6 43ED F366 lea.l A1, [A5 - 0xC9A]
00001DDA 2549 0016 move.l [A2 + 0x16], A1
label00001DDE:
00001DDE 246E FFFC movea.l A2, [A6 - 0x4]
00001DE2 0C6A FF9C 0014 cmpi.w [A2 + 0x14], 0xFF9C
00001DE8 6700 0024 beq +0x26 /* 00001E0E */
00001DEC 246E FFFC movea.l A2, [A6 - 0x4]
00001DF0 362A 0014 move.w D3, [A2 + 0x14]
00001DF4 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00001DF8 246E FFFC movea.l A2, [A6 - 0x4]
00001DFC 342A 0012 move.w D2, [A2 + 0x12]
00001E00 48C2 ext.l D2
00001E02 E582 asl D2, 2
00001E04 D682 add.l D3, D2
00001E06 246D FA3A movea.l A2, [A5 - 0x5C6]
00001E0A 42B2 3800 clr.l [A2 + D3]
label00001E0E:
00001E0E 246E FFFC movea.l A2, [A6 - 0x4]
00001E12 357C FF9C 0014 move.w [A2 + 0x14], 0xFF9C
00001E18 246E FFFC movea.l A2, [A6 - 0x4]
00001E1C 357C FF9C 0012 move.w [A2 + 0x12], 0xFF9C
00001E22 3F3C FC18 move.w -[A7], 0xFC18
00001E26 3F3C FC18 move.w -[A7], 0xFC18
00001E2A 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001E2E 4EBA 11E8 jsr [PC + 0x11E8 /* 00003018 */]
00001E32 5C4F addq.w A7, 6
00001E34 4CDF 0000 movem.l <none>, [A7]+
00001E38 4E5E unlink A6
00001E3A 4E75 rts
fn00001E3C:
00001E3C 4E56 0000 link A6, 0
00001E40 48E7 0000 movem.l -[A7], <none>
00001E44 246E 0008 movea.l A2, [A6 + 0x8]
00001E48 362A 0002 move.w D3, [A2 + 0x2]
00001E4C C6ED FFAE mulu.w D3, [A5 - 0x52]
00001E50 3543 0002 move.w [A2 + 0x2], D3
00001E54 246E 0008 movea.l A2, [A6 + 0x8]
00001E58 3612 move.w D3, [A2]
00001E5A C6ED FFAC mulu.w D3, [A5 - 0x54]
00001E5E 3483 move.w [A2], D3
00001E60 2F2D FD84 move.l -[A7], [A5 - 0x27C]
00001E64 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001E68 A87E syscall AddPt
00001E6A 4CDF 0000 movem.l <none>, [A7]+
00001E6E 4E5E unlink A6
00001E70 4E75 rts
fn00001E72:
00001E72 4E56 0000 link A6, 0
00001E76 48E7 0000 movem.l -[A7], <none>
00001E7A 246E 0008 movea.l A2, [A6 + 0x8]
00001E7E 362A 0002 move.w D3, [A2 + 0x2]
00001E82 966D FD86 sub.w D3, [A5 - 0x27A]
00001E86 342D FFAE move.w D2, [A5 - 0x52]
00001E8A 48C2 ext.l D2
00001E8C 85FC 0002 divs.w D2, 0x2
00001E90 D642 add.w D3, D2
00001E92 342D FFAE move.w D2, [A5 - 0x52]
00001E96 C4FC 000A mulu.w D2, 0xA /* '\n' */
00001E9A D642 add.w D3, D2
00001E9C 48C3 ext.l D3
00001E9E 87ED FFAE divs.w D3, [A5 - 0x52]
00001EA2 967C 000A sub.w D3, 0xA /* '\n' */
00001EA6 3543 0002 move.w [A2 + 0x2], D3
00001EAA 246E 0008 movea.l A2, [A6 + 0x8]
00001EAE 3612 move.w D3, [A2]
00001EB0 966D FD84 sub.w D3, [A5 - 0x27C]
00001EB4 342D FFAC move.w D2, [A5 - 0x54]
00001EB8 48C2 ext.l D2
00001EBA 85FC 0002 divs.w D2, 0x2
00001EBE D642 add.w D3, D2
00001EC0 342D FFAC move.w D2, [A5 - 0x54]
00001EC4 C4FC 000A mulu.w D2, 0xA /* '\n' */
00001EC8 D642 add.w D3, D2
00001ECA 48C3 ext.l D3
00001ECC 87ED FFAC divs.w D3, [A5 - 0x54]
00001ED0 967C 000A sub.w D3, 0xA /* '\n' */
00001ED4 3483 move.w [A2], D3
00001ED6 246E 0008 movea.l A2, [A6 + 0x8]
00001EDA 0C6A FFFC 0002 cmpi.w [A2 + 0x2], 0xFFFC
00001EE0 6D00 0028 blt +0x2A /* 00001F0A */
00001EE4 246E 0008 movea.l A2, [A6 + 0x8]
00001EE8 0C6A 0004 0002 cmpi.w [A2 + 0x2], 0x4
00001EEE 6E00 001A bgt +0x1C /* 00001F0A */
00001EF2 246E 0008 movea.l A2, [A6 + 0x8]
00001EF6 0C52 FFFC cmpi.w [A2], 0xFFFC
00001EFA 6D00 000E blt +0x10 /* 00001F0A */
00001EFE 246E 0008 movea.l A2, [A6 + 0x8]
00001F02 0C52 0004 cmpi.w [A2], 0x4
00001F06 6F00 0014 ble +0x16 /* 00001F1C */
label00001F0A:
00001F0A 246E 0008 movea.l A2, [A6 + 0x8]
00001F0E 357C FF9C 0002 move.w [A2 + 0x2], 0xFF9C
00001F14 246E 0008 movea.l A2, [A6 + 0x8]
00001F18 34BC FF9C move.w [A2], 0xFF9C
label00001F1C:
00001F1C 4CDF 0000 movem.l <none>, [A7]+
00001F20 4E5E unlink A6
00001F22 4E75 rts
fn00001F24:
00001F24 4E56 FFFC link A6, -0x0004
00001F28 48E7 0000 movem.l -[A7], <none>
00001F2C 246E 0008 movea.l A2, [A6 + 0x8]
00001F30 3D6A 0002 FFFE move.w [A6 - 0x2], [A2 + 0x2]
00001F36 246E 0008 movea.l A2, [A6 + 0x8]
00001F3A 3D52 FFFC move.w [A6 - 0x4], [A2]
00001F3E 486E FFFC pea.l [A6 - 0x4]
00001F42 4EBA FEF8 jsr [PC - 0x108 /* 00001E3C */]
00001F46 584F addq.w A7, 4
00001F48 246E 000C movea.l A2, [A6 + 0xC]
00001F4C 362D FFAE move.w D3, [A5 - 0x52]
00001F50 5343 subq.w D3, 1
00001F52 48C3 ext.l D3
00001F54 87FC 0002 divs.w D3, 0x2
00001F58 342E FFFE move.w D2, [A6 - 0x2]
00001F5C 9443 sub.w D2, D3
00001F5E 3542 0002 move.w [A2 + 0x2], D2
00001F62 246E 000C movea.l A2, [A6 + 0xC]
00001F66 362D FFAC move.w D3, [A5 - 0x54]
00001F6A 5343 subq.w D3, 1
00001F6C 48C3 ext.l D3
00001F6E 87FC 0002 divs.w D3, 0x2
00001F72 342E FFFC move.w D2, [A6 - 0x4]
00001F76 9443 sub.w D2, D3
00001F78 3482 move.w [A2], D2
00001F7A 246E 000C movea.l A2, [A6 + 0xC]
00001F7E 362A 0002 move.w D3, [A2 + 0x2]
00001F82 D66D FFAE add.w D3, [A5 - 0x52]
00001F86 5343 subq.w D3, 1
00001F88 3543 0006 move.w [A2 + 0x6], D3
00001F8C 246E 000C movea.l A2, [A6 + 0xC]
00001F90 3612 move.w D3, [A2]
00001F92 D66D FFAC add.w D3, [A5 - 0x54]
00001F96 5343 subq.w D3, 1
00001F98 3543 0004 move.w [A2 + 0x4], D3
00001F9C 4CDF 0000 movem.l <none>, [A7]+
00001FA0 4E5E unlink A6
00001FA2 4E75 rts
fn00001FA4:
00001FA4 4E56 FFFC link A6, -0x0004
00001FA8 48E7 0000 movem.l -[A7], <none>
00001FAC 45ED FA4A lea.l A2, [A5 - 0x5B6]
00001FB0 2D4A FFFC move.l [A6 - 0x4], A2
label00001FB4:
00001FB4 45ED FCD4 lea.l A2, [A5 - 0x32C]
00001FB8 226E FFFC movea.l A1, [A6 - 0x4]
00001FBC B3CA cmpa.l A1, A2
00001FBE 6400 009A bcc +0x9C /* 0000205A */
00001FC2 4267 clr.w -[A7]
00001FC4 246E 0008 movea.l A2, [A6 + 0x8]
00001FC8 2F12 move.l -[A7], [A2]
00001FCA 246E FFFC movea.l A2, [A6 - 0x4]
00001FCE D5FC 0000 000A add.l A2, 0xA /* '\n' */
00001FD4 2F0A move.l -[A7], A2
00001FD6 A8AD syscall PtInRect
00001FD8 101F move.b D0, [A7]+
00001FDA 4A00 tst.b D0
00001FDC 6700 0070 beq +0x72 /* 0000204E */
00001FE0 4A6D FCD4 tst.w [A5 - 0x32C]
00001FE4 6600 0050 bne +0x52 /* 00002036 */
00001FE8 246E FFFC movea.l A2, [A6 - 0x4]
00001FEC 0C6A FF9C 0014 cmpi.w [A2 + 0x14], 0xFF9C
00001FF2 6600 0006 bne +0x8 /* 00001FFA */
00001FF6 6000 0056 bra +0x58 /* 0000204E */
label00001FFA:
00001FFA 362D FCDE move.w D3, [A5 - 0x322]
00001FFE C67C 0001 and.w D3, 0x1
00002002 6600 0012 bne +0x14 /* 00002016 */
00002006 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000200A 4EBA 0052 jsr [PC + 0x52 /* 0000205E */]
0000200E 584F addq.w A7, 4
00002010 4A40 tst.w D0
00002012 6700 001E beq +0x20 /* 00002032 */
label00002016:
00002016 362D FCDE move.w D3, [A5 - 0x322]
0000201A C67C 0001 and.w D3, 0x1
0000201E 6700 0016 beq +0x18 /* 00002036 */
00002022 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002026 4EBA 006A jsr [PC + 0x6A /* 00002092 */]
0000202A 584F addq.w A7, 4
0000202C 4A40 tst.w D0
0000202E 6600 0006 bne +0x8 /* 00002036 */
label00002032:
00002032 6000 001A bra +0x1C /* 0000204E */
label00002036:
00002036 202E FFFC move.l D0, [A6 - 0x4]
0000203A 45ED FA4A lea.l A2, [A5 - 0x5B6]
0000203E 908A sub.l D0, A2
00002040 721A moveq.l D1, 0x1A
00002042 4EBA 1E44 jsr [PC + 0x1E44 /* 00003E88 */]
label00002046:
00002046 4CDF 0000 movem.l <none>, [A7]+
0000204A 4E5E unlink A6
0000204C 4E75 rts
label0000204E:
0000204E 06AE 0000 001A FFFC addi.l [A6 - 0x4], 0x1A
00002056 6000 FF5C bra -0xA2 /* 00001FB4 */
label0000205A:
0000205A 70FF moveq.l D0, 0xFFFFFFFF
0000205C 60E8 bra -0x16 /* 00002046 */
fn0000205E:
0000205E 4E56 0000 link A6, 0
00002062 48E7 0000 movem.l -[A7], <none>
00002066 45ED FB1A lea.l A2, [A5 - 0x4E6]
0000206A B5EE 0008 cmpa.l A2, [A6 + 0x8]
0000206E 6200 0018 bhi +0x1A /* 00002088 */
00002072 45ED FCA0 lea.l A2, [A5 - 0x360]
00002076 226E 0008 movea.l A1, [A6 + 0x8]
0000207A B3CA cmpa.l A1, A2
0000207C 6200 000A bhi +0xC /* 00002088 */
00002080 303C 0001 move.w D0, 0x1
00002084 6000 0004 bra +0x6 /* 0000208A */
label00002088:
00002088 4240 clr.w D0
label0000208A:
0000208A 4CDF 0000 movem.l <none>, [A7]+
0000208E 4E5E unlink A6
00002090 4E75 rts
fn00002092:
00002092 4E56 0000 link A6, 0
00002096 48E7 0000 movem.l -[A7], <none>
0000209A 45ED FCBA lea.l A2, [A5 - 0x346]
0000209E 226E 0008 movea.l A1, [A6 + 0x8]
000020A2 B3CA cmpa.l A1, A2
000020A4 6700 001C beq +0x1E /* 000020C2 */
000020A8 45ED FA4A lea.l A2, [A5 - 0x5B6]
000020AC B5EE 0008 cmpa.l A2, [A6 + 0x8]
000020B0 6200 0018 bhi +0x1A /* 000020CA */
000020B4 45ED FB00 lea.l A2, [A5 - 0x500]
000020B8 226E 0008 movea.l A1, [A6 + 0x8]
000020BC B3CA cmpa.l A1, A2
000020BE 6200 000A bhi +0xC /* 000020CA */
label000020C2:
000020C2 303C 0001 move.w D0, 0x1
000020C6 6000 0004 bra +0x6 /* 000020CC */
label000020CA:
000020CA 4240 clr.w D0
label000020CC:
000020CC 4CDF 0000 movem.l <none>, [A7]+
000020D0 4E5E unlink A6
000020D2 4E75 rts
fn000020D4:
000020D4 4E56 0000 link A6, 0
000020D8 48E7 0000 movem.l -[A7], <none>
000020DC 45ED FA4A lea.l A2, [A5 - 0x5B6]
000020E0 B5EE 0008 cmpa.l A2, [A6 + 0x8]
000020E4 6200 001A bhi +0x1C /* 00002100 */
000020E8 45ED FB00 lea.l A2, [A5 - 0x500]
000020EC 226E 0008 movea.l A1, [A6 + 0x8]
000020F0 B3CA cmpa.l A1, A2
000020F2 6200 000C bhi +0xE /* 00002100 */
000020F6 7000 moveq.l D0, 0x00
label000020F8:
000020F8 4CDF 0000 movem.l <none>, [A7]+
000020FC 4E5E unlink A6
000020FE 4E75 rts
label00002100:
00002100 45ED FB1A lea.l A2, [A5 - 0x4E6]
00002104 B5EE 0008 cmpa.l A2, [A6 + 0x8]
00002108 6200 0014 bhi +0x16 /* 0000211E */
0000210C 45ED FCA0 lea.l A2, [A5 - 0x360]
00002110 226E 0008 movea.l A1, [A6 + 0x8]
00002114 B3CA cmpa.l A1, A2
00002116 6200 0006 bhi +0x8 /* 0000211E */
0000211A 7008 moveq.l D0, 0x08
0000211C 60DA bra -0x24 /* 000020F8 */
label0000211E:
0000211E 7018 moveq.l D0, 0x18
00002120 60D6 bra -0x28 /* 000020F8 */
fn00002122:
00002122 4E56 FEF4 link A6, -0x010C
00002126 48E7 0000 movem.l -[A7], <none>
0000212A 426E FEF4 clr.w [A6 - 0x10C]
0000212E 4267 clr.w -[A7]
00002130 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002134 A86A syscall HiWord
00002136 301F move.w D0, [A7]+
00002138 3D40 FFFC move.w [A6 - 0x4], D0
0000213C 4267 clr.w -[A7]
0000213E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002142 A86B syscall LoWord
00002144 301F move.w D0, [A7]+
00002146 3D40 FFFA move.w [A6 - 0x6], D0
0000214A 302E FFFC move.w D0, [A6 - 0x4]
0000214E 6000 015C bra +0x15E /* 000022AC */
00002152 6000 016A bra +0x16C /* 000022BE */
00002156 0C6E 0001 FFFA cmpi.w [A6 - 0x6], 0x1
0000215C 6600 0010 bne +0x12 /* 0000216E */
00002160 3F3C 0100 move.w -[A7], 0x100
00002164 4EBA E762 jsr [PC - 0x189E /* 000008C8 */]
00002168 544F addq.w A7, 2
0000216A 6000 002A bra +0x2C /* 00002196 */
label0000216E:
0000216E 486E FEF6 pea.l [A6 - 0x10A]
00002172 A874 syscall GetPort
00002174 2F2D FFB4 move.l -[A7], [A5 - 0x4C]
00002178 3F2E FFFA move.w -[A7], [A6 - 0x6]
0000217C 486E FEFB pea.l [A6 - 0x105]
00002180 A946 syscall GetMenuItemText/GetItem
00002182 4267 clr.w -[A7]
00002184 486E FEFB pea.l [A6 - 0x105]
00002188 A9B6 syscall OpenDeskAcc
0000218A 301F move.w D0, [A7]+
0000218C 3D40 FFFE move.w [A6 - 0x2], D0
00002190 2F2E FEF6 move.l -[A7], [A6 - 0x10A]
00002194 A873 syscall SetPort
label00002196:
00002196 6000 0126 bra +0x128 /* 000022BE */
0000219A 302E FFFA move.w D0, [A6 - 0x6]
0000219E 6000 007C bra +0x7E /* 0000221C */
000021A2 4EBA ED8C jsr [PC - 0x1274 /* 00000F30 */]
000021A6 4A40 tst.w D0
000021A8 6700 0006 beq +0x8 /* 000021B0 */
000021AC 4EBA ED2E jsr [PC - 0x12D2 /* 00000EDC */]
label000021B0:
000021B0 6000 007C bra +0x7E /* 0000222E */
000021B4 4EBA ED7A jsr [PC - 0x1286 /* 00000F30 */]
000021B8 4A40 tst.w D0
000021BA 6700 0006 beq +0x8 /* 000021C2 */
000021BE 4EBA EE60 jsr [PC - 0x11A0 /* 00001020 */]
label000021C2:
000021C2 6000 006A bra +0x6C /* 0000222E */
000021C6 0C6E 0004 FFFA cmpi.w [A6 - 0x6], 0x4
000021CC 6600 000A bne +0xC /* 000021D8 */
000021D0 363C 0001 move.w D3, 0x1
000021D4 6000 0004 bra +0x6 /* 000021DA */
label000021D8:
000021D8 4243 clr.w D3
label000021DA:
000021DA 3F03 move.w -[A7], D3
000021DC 4EBA EDB2 jsr [PC - 0x124E /* 00000F90 */]
000021E0 544F addq.w A7, 2
000021E2 6000 004A bra +0x4C /* 0000222E */
000021E6 4EBA ED48 jsr [PC - 0x12B8 /* 00000F30 */]
000021EA 4A40 tst.w D0
000021EC 6700 0006 beq +0x8 /* 000021F4 */
000021F0 4EBA F194 jsr [PC - 0xE6C /* 00001386 */]
label000021F4:
000021F4 6000 0038 bra +0x3A /* 0000222E */
000021F8 4EBA ED36 jsr [PC - 0x12CA /* 00000F30 */]
000021FC 4A40 tst.w D0
000021FE 6700 0008 beq +0xA /* 00002208 */
00002202 3D7C 0001 FEF4 move.w [A6 - 0x10C], 0x1
label00002208:
00002208 6000 0024 bra +0x26 /* 0000222E */
0000220C 0002 FF76 ori.b D2, 0x76 /* 'v' */
00002210 FF88 .invalid <<F/6/7>>
00002212 FF9A .invalid <<F/6/7>>
00002214 FF9A .invalid <<F/6/7>>
00002216 0002 FFBA ori.b D2, 0xBA
0000221A FFCC .invalid <<F/7/7>>
label0000221C:
0000221C B07C 0008 cmp.w D0, 0x8
00002220 6400 000C bcc +0xE /* 0000222E */
00002224 E340 asl D0.w, 1
00002226 303B 00E4 move.w D0, [PC + D0.w - 0x28]
0000222A 4EFB 0000 jmp [PC + D0.w]
label0000222E:
0000222E 6000 008E bra +0x90 /* 000022BE */
00002232 302E FFFA move.w D0, [A6 - 0x6]
00002236 6000 0054 bra +0x56 /* 0000228C */
0000223A 3F3C 012C move.w -[A7], 0x12C
0000223E 4EBA E688 jsr [PC - 0x1978 /* 000008C8 */]
00002242 544F addq.w A7, 2
00002244 6000 0058 bra +0x5A /* 0000229E */
00002248 3F3C 012D move.w -[A7], 0x12D
0000224C 4EBA E67A jsr [PC - 0x1986 /* 000008C8 */]
00002250 544F addq.w A7, 2
00002252 6000 004A bra +0x4C /* 0000229E */
00002256 3F3C 012E move.w -[A7], 0x12E
0000225A 4EBA E66C jsr [PC - 0x1994 /* 000008C8 */]
0000225E 544F addq.w A7, 2
00002260 6000 003C bra +0x3E /* 0000229E */
00002264 3F3C 012F move.w -[A7], 0x12F
00002268 4EBA E65E jsr [PC - 0x19A2 /* 000008C8 */]
0000226C 544F addq.w A7, 2
0000226E 6000 002E bra +0x30 /* 0000229E */
00002272 3F3C 0130 move.w -[A7], 0x130
00002276 4EBA E650 jsr [PC - 0x19B0 /* 000008C8 */]
0000227A 544F addq.w A7, 2
0000227C 6000 0020 bra +0x22 /* 0000229E */
00002280 0002 FF9E ori.b D2, 0x9E
00002284 FFAC .invalid <<F/6/7>>
00002286 FFBA .invalid <<F/6/7>>
00002288 FFC8 .invalid <<F/7/7>>
0000228A FFD6 .invalid <<F/7/7>>
label0000228C:
0000228C B07C 0006 cmp.w D0, 0x6
00002290 6400 000C bcc +0xE /* 0000229E */
00002294 E340 asl D0.w, 1
00002296 303B 00E8 move.w D0, [PC + D0.w - 0x24]
0000229A 4EFB 0000 jmp [PC + D0.w]
label0000229E:
0000229E 6000 001E bra +0x20 /* 000022BE */
000022A2 FE96 FE9A .extension 0xE96 <<F/2-3/7>> // unimplemented
000022A6 FEDE 0002 .extension 0xEDE <<F/2-3/7>> // unimplemented
000022AA FF76 .extension 0xF76 <<F/4-5/7>> // unimplemented
label000022AC:
000022AC B07C 0005 cmp.w D0, 0x5
000022B0 6400 000C bcc +0xE /* 000022BE */
000022B4 E340 asl D0.w, 1
000022B6 303B 00EA move.w D0, [PC + D0.w - 0x22]
000022BA 4EFB 0000 jmp [PC + D0.w]
label000022BE:
000022BE 4267 clr.w -[A7]
000022C0 A938 syscall HiliteMenu
000022C2 302E FEF4 move.w D0, [A6 - 0x10C]
000022C6 4CDF 0000 movem.l <none>, [A7]+
000022CA 4E5E unlink A6
000022CC 4E75 rts
fn000022CE:
000022CE 4E56 FFFE link A6, -0x0002
000022D2 48E7 0000 movem.l -[A7], <none>
000022D6 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
label000022DC:
000022DC 0C6E 0004 FFFE cmpi.w [A6 - 0x2], 0x4
000022E2 6E00 002A bgt +0x2C /* 0000230E */
000022E6 362E FFFE move.w D3, [A6 - 0x2]
000022EA 48C3 ext.l D3
000022EC E583 asl D3, 2
000022EE 45ED FFB0 lea.l A2, [A5 - 0x50]
000022F2 2F03 move.l -[A7], D3
000022F4 2F0A move.l -[A7], A2
000022F6 42A7 clr.l -[A7]
000022F8 3F2E FFFE move.w -[A7], [A6 - 0x2]
000022FC A9BF syscall GetRMenu
000022FE 201F move.l D0, [A7]+
00002300 245F movea.l A2, [A7]+
00002302 261F move.l D3, [A7]+
00002304 2580 3800 move.l [A2 + D3], D0
00002308 526E FFFE addq.w [A6 - 0x2], 1
0000230C 60CE bra -0x30 /* 000022DC */
label0000230E:
0000230E 2F2D FFB4 move.l -[A7], [A5 - 0x4C]
00002312 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00002318 A94D syscall AppendResMenu/AddResMenu
0000231A 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
label00002320:
00002320 0C6E 0004 FFFE cmpi.w [A6 - 0x2], 0x4
00002326 6E00 001C bgt +0x1E /* 00002344 */
0000232A 362E FFFE move.w D3, [A6 - 0x2]
0000232E 48C3 ext.l D3
00002330 E583 asl D3, 2
00002332 45ED FFB0 lea.l A2, [A5 - 0x50]
00002336 2F32 3800 move.l -[A7], [A2 + D3]
0000233A 4267 clr.w -[A7]
0000233C A935 syscall InsertMenu
0000233E 526E FFFE addq.w [A6 - 0x2], 1
00002342 60DC bra -0x22 /* 00002320 */
label00002344:
00002344 A937 syscall DrawMenuBar
00002346 4CDF 0000 movem.l <none>, [A7]+
0000234A 4E5E unlink A6
0000234C 4E75 rts
fn0000234E:
0000234E 4E56 0000 link A6, 0
00002352 48E7 0000 movem.l -[A7], <none>
00002356 2F2D FFBC move.l -[A7], [A5 - 0x44]
0000235A 4267 clr.w -[A7]
0000235C A93A syscall DisableItem
0000235E 2F2D FFB8 move.l -[A7], [A5 - 0x48]
00002362 4267 clr.w -[A7]
00002364 A939 syscall EnableItem
00002366 2F2D FFC0 move.l -[A7], [A5 - 0x40]
0000236A 4267 clr.w -[A7]
0000236C A939 syscall EnableItem
0000236E A937 syscall DrawMenuBar
00002370 4CDF 0000 movem.l <none>, [A7]+
00002374 4E5E unlink A6
00002376 4E75 rts
fn00002378:
00002378 4E56 0000 link A6, 0
0000237C 48E7 0000 movem.l -[A7], <none>
00002380 2F2D FFBC move.l -[A7], [A5 - 0x44]
00002384 4267 clr.w -[A7]
00002386 A939 syscall EnableItem
00002388 2F2D FFB8 move.l -[A7], [A5 - 0x48]
0000238C 4267 clr.w -[A7]
0000238E A93A syscall DisableItem
00002390 2F2D FFC0 move.l -[A7], [A5 - 0x40]
00002394 4267 clr.w -[A7]
00002396 A93A syscall DisableItem
00002398 A937 syscall DrawMenuBar
0000239A 4CDF 0000 movem.l <none>, [A7]+
0000239E 4E5E unlink A6
000023A0 4E75 rts
fn000023A2:
000023A2 4E56 FF88 link A6, -0x0078
000023A6 48E7 0000 movem.l -[A7], <none>
000023AA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000023AE A9A2 syscall LoadResource
000023B0 246E 0008 movea.l A2, [A6 + 0x8]
000023B4 2252 movea.l A1, [A2]
000023B6 246E 0008 movea.l A2, [A6 + 0x8]
000023BA 2052 movea.l A0, [A2]
000023BC 3629 0008 move.w D3, [A1 + 0x8]
000023C0 9668 0004 sub.w D3, [A0 + 0x4]
000023C4 3D43 FF8A move.w [A6 - 0x76], D3
000023C8 246E 0008 movea.l A2, [A6 + 0x8]
000023CC 2252 movea.l A1, [A2]
000023CE 246E 0008 movea.l A2, [A6 + 0x8]
000023D2 2052 movea.l A0, [A2]
000023D4 3629 0006 move.w D3, [A1 + 0x6]
000023D8 9668 0002 sub.w D3, [A0 + 0x2]
000023DC 3D43 FF88 move.w [A6 - 0x78], D3
000023E0 3F3C 000E move.w -[A7], 0xE
000023E4 4EBA 1B3A jsr [PC + 0x1B3A /* 00003F20 */]
000023E8 544F addq.w A7, 2
000023EA 2D40 FF8C move.l [A6 - 0x74], D0
000023EE 246E FF8C movea.l A2, [A6 - 0x74]
000023F2 5C8A addq.l A2, 6
000023F4 2F0A move.l -[A7], A2
000023F6 4267 clr.w -[A7]
000023F8 4267 clr.w -[A7]
000023FA 3F2E FF8A move.w -[A7], [A6 - 0x76]
000023FE 3F2E FF88 move.w -[A7], [A6 - 0x78]
00002402 A8A7 syscall SetRect
00002404 246E FF8C movea.l A2, [A6 - 0x74]
00002408 362E FF8A move.w D3, [A6 - 0x76]
0000240C 5E43 addq.w D3, 7
0000240E 48C3 ext.l D3
00002410 87FC 0008 divs.w D3, 0x8
00002414 3543 0004 move.w [A2 + 0x4], D3
00002418 246E FF8C movea.l A2, [A6 - 0x74]
0000241C 2F0A move.l -[A7], A2
0000241E 246E FF8C movea.l A2, [A6 - 0x74]
00002422 362A 0004 move.w D3, [A2 + 0x4]
00002426 C6EE FF88 mulu.w D3, [A6 - 0x78]
0000242A 3F03 move.w -[A7], D3
0000242C 4EBA 1AF2 jsr [PC + 0x1AF2 /* 00003F20 */]
00002430 544F addq.w A7, 2
00002432 245F movea.l A2, [A7]+
00002434 2480 move.l [A2], D0
00002436 486E FFFC pea.l [A6 - 0x4]
0000243A A874 syscall GetPort
0000243C 486E FF90 pea.l [A6 - 0x70]
00002440 A86F syscall OpenPort
00002442 2F2E FF8C move.l -[A7], [A6 - 0x74]
00002446 A875 syscall SetPBits/SetPortBits
00002448 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000244C 246E FF8C movea.l A2, [A6 - 0x74]
00002450 5C8A addq.l A2, 6
00002452 2F0A move.l -[A7], A2
00002454 A8F6 syscall DrawPicture
00002456 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000245A A873 syscall SetPort
0000245C 486E FF90 pea.l [A6 - 0x70]
00002460 A87D syscall ClosePort
00002462 202E FF8C move.l D0, [A6 - 0x74]
00002466 4CDF 0000 movem.l <none>, [A7]+
0000246A 4E5E unlink A6
0000246C 4E75 rts
0000246E 4E56 FFFC link A6, -0x0004
00002472 48E7 0000 movem.l -[A7], <none>
00002476 4A6D F348 tst.w [A5 - 0xCB8]
0000247A 6700 0016 beq +0x18 /* 00002492 */
0000247E 426D F348 clr.w [A5 - 0xCB8]
00002482 486E FFFC pea.l [A6 - 0x4]
00002486 4EBA 198E jsr [PC + 0x198E /* 00003E16 */]
0000248A 584F addq.w A7, 4
0000248C 2B6E FFFC F9AA move.l [A5 - 0x656], [A6 - 0x4]
label00002492:
00002492 4267 clr.w -[A7]
00002494 A861 syscall Random
00002496 301F move.w D0, [A7]+
00002498 4840 swap.w D0
0000249A 4240 clr.w D0
0000249C 4840 swap.w D0
0000249E 80EE 0008 divu.w D0, [A6 + 0x8]
000024A2 4840 swap.w D0
000024A4 4CDF 0000 movem.l <none>, [A7]+
000024A8 4E5E unlink A6
000024AA 4E75 rts
fn000024AC:
000024AC 4E56 FFF8 link A6, -0x0008
000024B0 48E7 0000 movem.l -[A7], <none>
000024B4 42AE FFFC clr.l [A6 - 0x4]
000024B8 246E FFFC movea.l A2, [A6 - 0x4]
000024BC 24BC FFFF FFFF move.l [A2], 0xFFFFFFFF
000024C2 2D7C 0000 0908 FFF8 move.l [A6 - 0x8], 0x908
000024CA 246E FFF8 movea.l A2, [A6 - 0x8]
000024CE 2252 movea.l A1, [A2]
000024D0 93FC 0000 2000 sub.l A1, 0x2000 /* ' \0' */
000024D6 2F09 move.l -[A7], A1
000024D8 4EBA 1932 jsr [PC + 0x1932 /* 00003E0C */]
000024DC 584F addq.w A7, 4
000024DE 4EBA 18FC jsr [PC + 0x18FC /* 00003DDC */]
000024E2 4EBA 1922 jsr [PC + 0x1922 /* 00003E06 */]
000024E6 4EBA 191E jsr [PC + 0x191E /* 00003E06 */]
000024EA 4CDF 0000 movem.l <none>, [A7]+
000024EE 4E5E unlink A6
000024F0 4E75 rts
fn000024F2:
000024F2 4E56 FFFC link A6, -0x0004
000024F6 48E7 0000 movem.l -[A7], <none>
000024FA 362E 0008 move.w D3, [A6 + 0x8]
000024FE C6FC 001A mulu.w D3, 0x1A
00002502 45ED FA4A lea.l A2, [A5 - 0x5B6]
00002506 D68A add.l D3, A2
00002508 2D43 FFFC move.l [A6 - 0x4], D3
0000250C 2F2E 000A move.l -[A7], [A6 + 0xA]
00002510 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002514 4EBA 009A jsr [PC + 0x9A /* 000025B0 */]
00002518 5C4F addq.w A7, 6
0000251A 4A40 tst.w D0
0000251C 6600 003C bne +0x3E /* 0000255A */
00002520 246E FFFC movea.l A2, [A6 - 0x4]
00002524 0C6A FF9C 0014 cmpi.w [A2 + 0x14], 0xFF9C
0000252A 6600 0010 bne +0x12 /* 0000253C */
0000252E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002532 4EBA F720 jsr [PC - 0x8E0 /* 00001C54 */]
00002536 544F addq.w A7, 2
00002538 6000 001C bra +0x1E /* 00002556 */
label0000253C:
0000253C 246E FFFC movea.l A2, [A6 - 0x4]
00002540 3F2A 0012 move.w -[A7], [A2 + 0x12]
00002544 246E FFFC movea.l A2, [A6 - 0x4]
00002548 3F2A 0014 move.w -[A7], [A2 + 0x14]
0000254C 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002550 4EBA F620 jsr [PC - 0x9E0 /* 00001B72 */]
00002554 5C4F addq.w A7, 6
label00002556:
00002556 6000 0050 bra +0x52 /* 000025A8 */
label0000255A:
0000255A 246E 000A movea.l A2, [A6 + 0xA]
0000255E 0C6A FF9C 0002 cmpi.w [A2 + 0x2], 0xFF9C
00002564 6600 0010 bne +0x12 /* 00002576 */
00002568 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000256C 4EBA F6E6 jsr [PC - 0x91A /* 00001C54 */]
00002570 544F addq.w A7, 2
00002572 6000 001A bra +0x1C /* 0000258E */
label00002576:
00002576 246E 000A movea.l A2, [A6 + 0xA]
0000257A 3F12 move.w -[A7], [A2]
0000257C 246E 000A movea.l A2, [A6 + 0xA]
00002580 3F2A 0002 move.w -[A7], [A2 + 0x2]
00002584 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002588 4EBA F5E8 jsr [PC - 0xA18 /* 00001B72 */]
0000258C 5C4F addq.w A7, 6
label0000258E:
0000258E 4A6D FCD4 tst.w [A5 - 0x32C]
00002592 6600 0014 bne +0x16 /* 000025A8 */
00002596 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000259A 4EBA 00BA jsr [PC + 0xBA /* 00002656 */]
0000259E 544F addq.w A7, 2
000025A0 4EBA 049C jsr [PC + 0x49C /* 00002A3E */]
000025A4 4EBA 100A jsr [PC + 0x100A /* 000035B0 */]
label000025A8:
000025A8 4CDF 0000 movem.l <none>, [A7]+
000025AC 4E5E unlink A6
000025AE 4E75 rts
fn000025B0:
000025B0 4E56 FFFC link A6, -0x0004
000025B4 48E7 0000 movem.l -[A7], <none>
000025B8 362E 0008 move.w D3, [A6 + 0x8]
000025BC C6FC 001A mulu.w D3, 0x1A
000025C0 45ED FA4A lea.l A2, [A5 - 0x5B6]
000025C4 D68A add.l D3, A2
000025C6 2D43 FFFC move.l [A6 - 0x4], D3
000025CA 246E 000A movea.l A2, [A6 + 0xA]
000025CE 0C6A FF9C 0002 cmpi.w [A2 + 0x2], 0xFF9C
000025D4 6600 000E bne +0x10 /* 000025E4 */
000025D8 302D FCD4 move.w D0, [A5 - 0x32C]
label000025DC:
000025DC 4CDF 0000 movem.l <none>, [A7]+
000025E0 4E5E unlink A6
000025E2 4E75 rts
label000025E4:
000025E4 4267 clr.w -[A7]
000025E6 246E FFFC movea.l A2, [A6 - 0x4]
000025EA 2F2A 0012 move.l -[A7], [A2 + 0x12]
000025EE 246E 000A movea.l A2, [A6 + 0xA]
000025F2 2F12 move.l -[A7], [A2]
000025F4 A881 syscall EqualPt
000025F6 101F move.b D0, [A7]+
000025F8 4A00 tst.b D0
000025FA 6700 0006 beq +0x8 /* 00002602 */
000025FE 7000 moveq.l D0, 0x00
00002600 60DA bra -0x24 /* 000025DC */
label00002602:
00002602 246E 000A movea.l A2, [A6 + 0xA]
00002606 4A6A 0002 tst.w [A2 + 0x2]
0000260A 6600 001E bne +0x20 /* 0000262A */
0000260E 246E 000A movea.l A2, [A6 + 0xA]
00002612 4A52 tst.w [A2]
00002614 6600 0014 bne +0x16 /* 0000262A */
00002618 45ED FCBA lea.l A2, [A5 - 0x346]
0000261C 226E FFFC movea.l A1, [A6 - 0x4]
00002620 B3CA cmpa.l A1, A2
00002622 6700 0006 beq +0x8 /* 0000262A */
00002626 7000 moveq.l D0, 0x00
00002628 60B2 bra -0x4C /* 000025DC */
label0000262A:
0000262A 246E 000A movea.l A2, [A6 + 0xA]
0000262E 362A 0002 move.w D3, [A2 + 0x2]
00002632 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002636 246E 000A movea.l A2, [A6 + 0xA]
0000263A 3412 move.w D2, [A2]
0000263C 48C2 ext.l D2
0000263E E582 asl D2, 2
00002640 D682 add.l D3, D2
00002642 246D FA3A movea.l A2, [A5 - 0x5C6]
00002646 4AB2 3800 tst.l [A2 + D3]
0000264A 6700 0006 beq +0x8 /* 00002652 */
0000264E 7000 moveq.l D0, 0x00
00002650 608A bra -0x74 /* 000025DC */
label00002652:
00002652 7001 moveq.l D0, 0x01
00002654 6086 bra -0x78 /* 000025DC */
fn00002656:
00002656 4E56 FFF4 link A6, -0x000C
0000265A 48E7 0000 movem.l -[A7], <none>
0000265E 362E 0008 move.w D3, [A6 + 0x8]
00002662 C6FC 001A mulu.w D3, 0x1A
00002666 45ED FA4A lea.l A2, [A5 - 0x5B6]
0000266A D68A add.l D3, A2
0000266C 2D43 FFFC move.l [A6 - 0x4], D3
00002670 246E FFFC movea.l A2, [A6 - 0x4]
00002674 3D6A 0014 FFF6 move.w [A6 - 0xA], [A2 + 0x14]
0000267A 246E FFFC movea.l A2, [A6 - 0x4]
0000267E 3D6A 0012 FFF4 move.w [A6 - 0xC], [A2 + 0x12]
00002684 362E FFF6 move.w D3, [A6 - 0xA]
00002688 C6FC 0034 mulu.w D3, 0x34 /* '4' */
0000268C 342E FFF4 move.w D2, [A6 - 0xC]
00002690 48C2 ext.l D2
00002692 E582 asl D2, 2
00002694 D682 add.l D3, D2
00002696 246D FA3A movea.l A2, [A5 - 0x5C6]
0000269A 2F32 3800 move.l -[A7], [A2 + D3]
0000269E 362E FFF6 move.w D3, [A6 - 0xA]
000026A2 5343 subq.w D3, 1
000026A4 C6FC 0034 mulu.w D3, 0x34 /* '4' */
000026A8 342E FFF4 move.w D2, [A6 - 0xC]
000026AC 48C2 ext.l D2
000026AE E582 asl D2, 2
000026B0 D682 add.l D3, D2
000026B2 246D FA3A movea.l A2, [A5 - 0x5C6]
000026B6 2F32 3800 move.l -[A7], [A2 + D3]
000026BA 362E FFF6 move.w D3, [A6 - 0xA]
000026BE 5543 subq.w D3, 2
000026C0 C6FC 0034 mulu.w D3, 0x34 /* '4' */
000026C4 342E FFF4 move.w D2, [A6 - 0xC]
000026C8 48C2 ext.l D2
000026CA E582 asl D2, 2
000026CC D682 add.l D3, D2
000026CE 246D FA3A movea.l A2, [A5 - 0x5C6]
000026D2 2F32 3800 move.l -[A7], [A2 + D3]
000026D6 4EBA 0236 jsr [PC + 0x236 /* 0000290E */]
000026DA DEFC 000C add.w A7, 0xC
000026DE 362E FFF6 move.w D3, [A6 - 0xA]
000026E2 C6FC 0034 mulu.w D3, 0x34 /* '4' */
000026E6 342E FFF4 move.w D2, [A6 - 0xC]
000026EA 48C2 ext.l D2
000026EC E582 asl D2, 2
000026EE D682 add.l D3, D2
000026F0 246D FA3A movea.l A2, [A5 - 0x5C6]
000026F4 2F32 3800 move.l -[A7], [A2 + D3]
000026F8 362E FFF6 move.w D3, [A6 - 0xA]
000026FC C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002700 342E FFF4 move.w D2, [A6 - 0xC]
00002704 5342 subq.w D2, 1
00002706 48C2 ext.l D2
00002708 E582 asl D2, 2
0000270A D682 add.l D3, D2
0000270C 246D FA3A movea.l A2, [A5 - 0x5C6]
00002710 2F32 3800 move.l -[A7], [A2 + D3]
00002714 362E FFF6 move.w D3, [A6 - 0xA]
00002718 C6FC 0034 mulu.w D3, 0x34 /* '4' */
0000271C 342E FFF4 move.w D2, [A6 - 0xC]
00002720 5542 subq.w D2, 2
00002722 48C2 ext.l D2
00002724 E582 asl D2, 2
00002726 D682 add.l D3, D2
00002728 246D FA3A movea.l A2, [A5 - 0x5C6]
0000272C 2F32 3800 move.l -[A7], [A2 + D3]
00002730 4EBA 01DC jsr [PC + 0x1DC /* 0000290E */]
00002734 DEFC 000C add.w A7, 0xC
00002738 362E FFF6 move.w D3, [A6 - 0xA]
0000273C C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002740 342E FFF4 move.w D2, [A6 - 0xC]
00002744 48C2 ext.l D2
00002746 E582 asl D2, 2
00002748 D682 add.l D3, D2
0000274A 246D FA3A movea.l A2, [A5 - 0x5C6]
0000274E 2F32 3800 move.l -[A7], [A2 + D3]
00002752 362E FFF6 move.w D3, [A6 - 0xA]
00002756 5243 addq.w D3, 1
00002758 C6FC 0034 mulu.w D3, 0x34 /* '4' */
0000275C 342E FFF4 move.w D2, [A6 - 0xC]
00002760 48C2 ext.l D2
00002762 E582 asl D2, 2
00002764 D682 add.l D3, D2
00002766 246D FA3A movea.l A2, [A5 - 0x5C6]
0000276A 2F32 3800 move.l -[A7], [A2 + D3]
0000276E 362E FFF6 move.w D3, [A6 - 0xA]
00002772 5443 addq.w D3, 2
00002774 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002778 342E FFF4 move.w D2, [A6 - 0xC]
0000277C 48C2 ext.l D2
0000277E E582 asl D2, 2
00002780 D682 add.l D3, D2
00002782 246D FA3A movea.l A2, [A5 - 0x5C6]
00002786 2F32 3800 move.l -[A7], [A2 + D3]
0000278A 4EBA 0182 jsr [PC + 0x182 /* 0000290E */]
0000278E DEFC 000C add.w A7, 0xC
00002792 362E FFF6 move.w D3, [A6 - 0xA]
00002796 C6FC 0034 mulu.w D3, 0x34 /* '4' */
0000279A 342E FFF4 move.w D2, [A6 - 0xC]
0000279E 48C2 ext.l D2
000027A0 E582 asl D2, 2
000027A2 D682 add.l D3, D2
000027A4 246D FA3A movea.l A2, [A5 - 0x5C6]
000027A8 2F32 3800 move.l -[A7], [A2 + D3]
000027AC 362E FFF6 move.w D3, [A6 - 0xA]
000027B0 C6FC 0034 mulu.w D3, 0x34 /* '4' */
000027B4 342E FFF4 move.w D2, [A6 - 0xC]
000027B8 5242 addq.w D2, 1
000027BA 48C2 ext.l D2
000027BC E582 asl D2, 2
000027BE D682 add.l D3, D2
000027C0 246D FA3A movea.l A2, [A5 - 0x5C6]
000027C4 2F32 3800 move.l -[A7], [A2 + D3]
000027C8 362E FFF6 move.w D3, [A6 - 0xA]
000027CC C6FC 0034 mulu.w D3, 0x34 /* '4' */
000027D0 342E FFF4 move.w D2, [A6 - 0xC]
000027D4 5442 addq.w D2, 2
000027D6 48C2 ext.l D2
000027D8 E582 asl D2, 2
000027DA D682 add.l D3, D2
000027DC 246D FA3A movea.l A2, [A5 - 0x5C6]
000027E0 2F32 3800 move.l -[A7], [A2 + D3]
000027E4 4EBA 0128 jsr [PC + 0x128 /* 0000290E */]
000027E8 DEFC 000C add.w A7, 0xC
000027EC 0C6D FF9C FCCE cmpi.w [A5 - 0x332], 0xFF9C
000027F2 6700 0112 beq +0x114 /* 00002906 */
000027F6 3D6D FCCE FFFA move.w [A6 - 0x6], [A5 - 0x332]
000027FC 3D6D FCCC FFF8 move.w [A6 - 0x8], [A5 - 0x334]
00002802 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00002806 362E FFFA move.w D3, [A6 - 0x6]
0000280A 5343 subq.w D3, 1
0000280C 3F03 move.w -[A7], D3
0000280E 4EBA 01C0 jsr [PC + 0x1C0 /* 000029D0 */]
00002812 584F addq.w A7, 4
00002814 4A40 tst.w D0
00002816 6700 00EE beq +0xF0 /* 00002906 */
0000281A 362E FFF8 move.w D3, [A6 - 0x8]
0000281E 5343 subq.w D3, 1
00002820 3F03 move.w -[A7], D3
00002822 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002826 4EBA 01A8 jsr [PC + 0x1A8 /* 000029D0 */]
0000282A 584F addq.w A7, 4
0000282C 4A40 tst.w D0
0000282E 6700 00D6 beq +0xD8 /* 00002906 */
00002832 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00002836 362E FFFA move.w D3, [A6 - 0x6]
0000283A 5243 addq.w D3, 1
0000283C 3F03 move.w -[A7], D3
0000283E 4EBA 0190 jsr [PC + 0x190 /* 000029D0 */]
00002842 584F addq.w A7, 4
00002844 4A40 tst.w D0
00002846 6700 00BE beq +0xC0 /* 00002906 */
0000284A 362E FFF8 move.w D3, [A6 - 0x8]
0000284E 5243 addq.w D3, 1
00002850 3F03 move.w -[A7], D3
00002852 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002856 4EBA 0178 jsr [PC + 0x178 /* 000029D0 */]
0000285A 584F addq.w A7, 4
0000285C 4A40 tst.w D0
0000285E 6700 00A6 beq +0xA8 /* 00002906 */
00002862 362E FFFA move.w D3, [A6 - 0x6]
00002866 5343 subq.w D3, 1
00002868 C6FC 0034 mulu.w D3, 0x34 /* '4' */
0000286C 342E FFF8 move.w D2, [A6 - 0x8]
00002870 48C2 ext.l D2
00002872 E582 asl D2, 2
00002874 D682 add.l D3, D2
00002876 246D FA3A movea.l A2, [A5 - 0x5C6]
0000287A 2272 3800 movea.l A1, [A2 + D3]
0000287E B3EE FFFC cmpa.l A1, [A6 - 0x4]
00002882 6700 006E beq +0x70 /* 000028F2 */
00002886 362E FFFA move.w D3, [A6 - 0x6]
0000288A C6FC 0034 mulu.w D3, 0x34 /* '4' */
0000288E 342E FFF8 move.w D2, [A6 - 0x8]
00002892 5342 subq.w D2, 1
00002894 48C2 ext.l D2
00002896 E582 asl D2, 2
00002898 D682 add.l D3, D2
0000289A 246D FA3A movea.l A2, [A5 - 0x5C6]
0000289E 2272 3800 movea.l A1, [A2 + D3]
000028A2 B3EE FFFC cmpa.l A1, [A6 - 0x4]
000028A6 6700 004A beq +0x4C /* 000028F2 */
000028AA 362E FFFA move.w D3, [A6 - 0x6]
000028AE 5243 addq.w D3, 1
000028B0 C6FC 0034 mulu.w D3, 0x34 /* '4' */
000028B4 342E FFF8 move.w D2, [A6 - 0x8]
000028B8 48C2 ext.l D2
000028BA E582 asl D2, 2
000028BC D682 add.l D3, D2
000028BE 246D FA3A movea.l A2, [A5 - 0x5C6]
000028C2 2272 3800 movea.l A1, [A2 + D3]
000028C6 B3EE FFFC cmpa.l A1, [A6 - 0x4]
000028CA 6700 0026 beq +0x28 /* 000028F2 */
000028CE 362E FFFA move.w D3, [A6 - 0x6]
000028D2 C6FC 0034 mulu.w D3, 0x34 /* '4' */
000028D6 342E FFF8 move.w D2, [A6 - 0x8]
000028DA 5242 addq.w D2, 1
000028DC 48C2 ext.l D2
000028DE E582 asl D2, 2
000028E0 D682 add.l D3, D2
000028E2 246D FA3A movea.l A2, [A5 - 0x5C6]
000028E6 2272 3800 movea.l A1, [A2 + D3]
000028EA B3EE FFFC cmpa.l A1, [A6 - 0x4]
000028EE 6600 0016 bne +0x18 /* 00002906 */
label000028F2:
000028F2 3B7C 0002 FCF0 move.w [A5 - 0x310], 0x2
000028F8 486D FCCC pea.l [A5 - 0x334]
000028FC 486D FCCC pea.l [A5 - 0x334]
00002900 4EBA DA9E jsr [PC - 0x2562 /* 000003A0 */]
00002904 504F addq.w A7, 8
label00002906:
00002906 4CDF 0000 movem.l <none>, [A7]+
0000290A 4E5E unlink A6
0000290C 4E75 rts
fn0000290E:
0000290E 4E56 0000 link A6, 0
00002912 48E7 0000 movem.l -[A7], <none>
00002916 4AAE 0008 tst.l [A6 + 0x8]
0000291A 6700 0012 beq +0x14 /* 0000292E */
0000291E 4AAE 000C tst.l [A6 + 0xC]
00002922 6700 000A beq +0xC /* 0000292E */
00002926 4AAE 0010 tst.l [A6 + 0x10]
0000292A 6600 000A bne +0xC /* 00002936 */
label0000292E:
0000292E 4CDF 0000 movem.l <none>, [A7]+
00002932 4E5E unlink A6
00002934 4E75 rts
label00002936:
00002936 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000293A 4EBA F756 jsr [PC - 0x8AA /* 00002092 */]
0000293E 584F addq.w A7, 4
00002940 4A40 tst.w D0
00002942 6700 003C beq +0x3E /* 00002980 */
00002946 2F2E 000C move.l -[A7], [A6 + 0xC]
0000294A 4EBA F712 jsr [PC - 0x8EE /* 0000205E */]
0000294E 584F addq.w A7, 4
00002950 4A40 tst.w D0
00002952 6700 002C beq +0x2E /* 00002980 */
00002956 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000295A 4EBA F736 jsr [PC - 0x8CA /* 00002092 */]
0000295E 584F addq.w A7, 4
00002960 4A40 tst.w D0
00002962 6700 001C beq +0x1E /* 00002980 */
00002966 202E 000C move.l D0, [A6 + 0xC]
0000296A 45ED FA4A lea.l A2, [A5 - 0x5B6]
0000296E 908A sub.l D0, A2
00002970 721A moveq.l D1, 0x1A
00002972 4EBA 1514 jsr [PC + 0x1514 /* 00003E88 */]
00002976 3F00 move.w -[A7], D0
00002978 4EBA F2DA jsr [PC - 0xD26 /* 00001C54 */]
0000297C 544F addq.w A7, 2
0000297E 60AE bra -0x50 /* 0000292E */
label00002980:
00002980 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002984 4EBA F6D8 jsr [PC - 0x928 /* 0000205E */]
00002988 584F addq.w A7, 4
0000298A 4A40 tst.w D0
0000298C 6700 003E beq +0x40 /* 000029CC */
00002990 2F2E 000C move.l -[A7], [A6 + 0xC]
00002994 4EBA F73E jsr [PC - 0x8C2 /* 000020D4 */]
00002998 584F addq.w A7, 4
0000299A 4A40 tst.w D0
0000299C 6600 002E bne +0x30 /* 000029CC */
000029A0 2F2E 0010 move.l -[A7], [A6 + 0x10]
000029A4 4EBA F6B8 jsr [PC - 0x948 /* 0000205E */]
000029A8 584F addq.w A7, 4
000029AA 4A40 tst.w D0
000029AC 6700 001E beq +0x20 /* 000029CC */
000029B0 202E 000C move.l D0, [A6 + 0xC]
000029B4 45ED FA4A lea.l A2, [A5 - 0x5B6]
000029B8 908A sub.l D0, A2
000029BA 721A moveq.l D1, 0x1A
000029BC 4EBA 14CA jsr [PC + 0x14CA /* 00003E88 */]
000029C0 3F00 move.w -[A7], D0
000029C2 4EBA F290 jsr [PC - 0xD70 /* 00001C54 */]
000029C6 544F addq.w A7, 2
000029C8 6000 FF64 bra -0x9A /* 0000292E */
label000029CC:
000029CC 6000 FF60 bra -0x9E /* 0000292E */
fn000029D0:
000029D0 4E56 0000 link A6, 0
000029D4 48E7 0000 movem.l -[A7], <none>
000029D8 4A6E 0008 tst.w [A6 + 0x8]
000029DC 6600 0014 bne +0x16 /* 000029F2 */
000029E0 4A6E 000A tst.w [A6 + 0xA]
000029E4 6600 000C bne +0xE /* 000029F2 */
000029E8 7001 moveq.l D0, 0x01
label000029EA:
000029EA 4CDF 0000 movem.l <none>, [A7]+
000029EE 4E5E unlink A6
000029F0 4E75 rts
label000029F2:
000029F2 362E 0008 move.w D3, [A6 + 0x8]
000029F6 C6FC 0034 mulu.w D3, 0x34 /* '4' */
000029FA 342E 000A move.w D2, [A6 + 0xA]
000029FE 48C2 ext.l D2
00002A00 E582 asl D2, 2
00002A02 D682 add.l D3, D2
00002A04 246D FA3A movea.l A2, [A5 - 0x5C6]
00002A08 4AB2 3800 tst.l [A2 + D3]
00002A0C 6700 002C beq +0x2E /* 00002A3A */
00002A10 362E 0008 move.w D3, [A6 + 0x8]
00002A14 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002A18 342E 000A move.w D2, [A6 + 0xA]
00002A1C 48C2 ext.l D2
00002A1E E582 asl D2, 2
00002A20 D682 add.l D3, D2
00002A22 246D FA3A movea.l A2, [A5 - 0x5C6]
00002A26 2F32 3800 move.l -[A7], [A2 + D3]
00002A2A 4EBA F632 jsr [PC - 0x9CE /* 0000205E */]
00002A2E 584F addq.w A7, 4
00002A30 4A40 tst.w D0
00002A32 6700 0006 beq +0x8 /* 00002A3A */
00002A36 7001 moveq.l D0, 0x01
00002A38 60B0 bra -0x4E /* 000029EA */
label00002A3A:
00002A3A 7000 moveq.l D0, 0x00
00002A3C 60AC bra -0x52 /* 000029EA */
fn00002A3E:
00002A3E 4E56 FFDC link A6, -0x0024
00002A42 48E7 0000 movem.l -[A7], <none>
00002A46 3D7C 0001 FFDC move.w [A6 - 0x24], 0x1
00002A4C 0C6D FF9C FCCE cmpi.w [A5 - 0x332], 0xFF9C
00002A52 6600 000A bne +0xC /* 00002A5E */
label00002A56:
00002A56 4CDF 0000 movem.l <none>, [A7]+
00002A5A 4E5E unlink A6
00002A5C 4E75 rts
label00002A5E:
00002A5E 486E FFF8 pea.l [A6 - 0x8]
00002A62 486E FFFC pea.l [A6 - 0x4]
00002A66 3F3C 0018 move.w -[A7], 0x18
00002A6A 4EBA D9DC jsr [PC - 0x2624 /* 00000448 */]
00002A6E DEFC 000A add.w A7, 0xA /* '\n' */
00002A72 3D6D FCCE FFE2 move.w [A6 - 0x1E], [A5 - 0x332]
00002A78 3D6D FCCC FFE0 move.w [A6 - 0x20], [A5 - 0x334]
00002A7E 45EE FFE8 lea.l A2, [A6 - 0x18]
00002A82 2D4A FFE4 move.l [A6 - 0x1C], A2
00002A86 0C6E FFFC FFFE cmpi.w [A6 - 0x2], 0xFFFC
00002A8C 6600 0030 bne +0x32 /* 00002ABE */
00002A90 246E FFE4 movea.l A2, [A6 - 0x1C]
00002A94 58AE FFE4 addq.l [A6 - 0x1C], 4
00002A98 2F0A move.l -[A7], A2
00002A9A 3F3C FFFC move.w -[A7], 0xFFFC
00002A9E 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00002AA2 A880 syscall SetPt
00002AA4 362E FFE2 move.w D3, [A6 - 0x1E]
00002AA8 5343 subq.w D3, 1
00002AAA 3F03 move.w -[A7], D3
00002AAC 3F3C FFFC move.w -[A7], 0xFFFC
00002AB0 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00002AB4 4EBA 010E jsr [PC + 0x10E /* 00002BC4 */]
00002AB8 5C4F addq.w A7, 6
00002ABA C16E FFDC and.w [A6 - 0x24], D0
label00002ABE:
00002ABE 0C6E FFFC FFFC cmpi.w [A6 - 0x4], 0xFFFC
00002AC4 6600 0030 bne +0x32 /* 00002AF6 */
00002AC8 246E FFE4 movea.l A2, [A6 - 0x1C]
00002ACC 58AE FFE4 addq.l [A6 - 0x1C], 4
00002AD0 2F0A move.l -[A7], A2
00002AD2 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00002AD6 3F3C FFFC move.w -[A7], 0xFFFC
00002ADA A880 syscall SetPt
00002ADC 362E FFE0 move.w D3, [A6 - 0x20]
00002AE0 5343 subq.w D3, 1
00002AE2 3F03 move.w -[A7], D3
00002AE4 3F3C FFFC move.w -[A7], 0xFFFC
00002AE8 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00002AEC 4EBA 01D0 jsr [PC + 0x1D0 /* 00002CBE */]
00002AF0 5C4F addq.w A7, 6
00002AF2 C16E FFDC and.w [A6 - 0x24], D0
label00002AF6:
00002AF6 0C6E 0004 FFFA cmpi.w [A6 - 0x6], 0x4
00002AFC 6600 0030 bne +0x32 /* 00002B2E */
00002B00 246E FFE4 movea.l A2, [A6 - 0x1C]
00002B04 58AE FFE4 addq.l [A6 - 0x1C], 4
00002B08 2F0A move.l -[A7], A2
00002B0A 3F3C 0004 move.w -[A7], 0x4
00002B0E 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00002B12 A880 syscall SetPt
00002B14 3F3C 0004 move.w -[A7], 0x4
00002B18 362E FFE2 move.w D3, [A6 - 0x1E]
00002B1C 5243 addq.w D3, 1
00002B1E 3F03 move.w -[A7], D3
00002B20 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00002B24 4EBA 009E jsr [PC + 0x9E /* 00002BC4 */]
00002B28 5C4F addq.w A7, 6
00002B2A C16E FFDC and.w [A6 - 0x24], D0
label00002B2E:
00002B2E 0C6E 0004 FFF8 cmpi.w [A6 - 0x8], 0x4
00002B34 6600 0030 bne +0x32 /* 00002B66 */
00002B38 246E FFE4 movea.l A2, [A6 - 0x1C]
00002B3C 58AE FFE4 addq.l [A6 - 0x1C], 4
00002B40 2F0A move.l -[A7], A2
00002B42 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00002B46 3F3C 0004 move.w -[A7], 0x4
00002B4A A880 syscall SetPt
00002B4C 3F3C 0004 move.w -[A7], 0x4
00002B50 362E FFE0 move.w D3, [A6 - 0x20]
00002B54 5243 addq.w D3, 1
00002B56 3F03 move.w -[A7], D3
00002B58 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00002B5C 4EBA 0160 jsr [PC + 0x160 /* 00002CBE */]
00002B60 5C4F addq.w A7, 6
00002B62 C16E FFDC and.w [A6 - 0x24], D0
label00002B66:
00002B66 45EE FFE8 lea.l A2, [A6 - 0x18]
00002B6A 262E FFE4 move.l D3, [A6 - 0x1C]
00002B6E 968A sub.l D3, A2
00002B70 E48B lsr D3, 2
00002B72 3D43 FFDE move.w [A6 - 0x22], D3
00002B76 0C6E 0001 FFDE cmpi.w [A6 - 0x22], 0x1
00002B7C 6D00 0014 blt +0x16 /* 00002B92 */
00002B80 246E FFE4 movea.l A2, [A6 - 0x1C]
00002B84 598A subq.l A2, 4
00002B86 2F0A move.l -[A7], A2
00002B88 486E FFE8 pea.l [A6 - 0x18]
00002B8C 4EBA D812 jsr [PC - 0x27EE /* 000003A0 */]
00002B90 504F addq.w A7, 8
label00002B92:
00002B92 0C6E 0002 FFDE cmpi.w [A6 - 0x22], 0x2
00002B98 6C00 0020 bge +0x22 /* 00002BBA */
00002B9C 4A6E FFDC tst.w [A6 - 0x24]
00002BA0 6700 0018 beq +0x1A /* 00002BBA */
00002BA4 362D FCDE move.w D3, [A5 - 0x322]
00002BA8 C67C 0001 and.w D3, 0x1
00002BAC 6600 0012 bne +0x14 /* 00002BC0 */
00002BB0 0C6E 0001 FFDE cmpi.w [A6 - 0x22], 0x1
00002BB6 6D00 0008 blt +0xA /* 00002BC0 */
label00002BBA:
00002BBA 3B7C 0001 FCF0 move.w [A5 - 0x310], 0x1
label00002BC0:
00002BC0 6000 FE94 bra -0x16A /* 00002A56 */
fn00002BC4:
00002BC4 4E56 FFFC link A6, -0x0004
00002BC8 48E7 0000 movem.l -[A7], <none>
00002BCC 3D6E 000A FFFE move.w [A6 - 0x2], [A6 + 0xA]
label00002BD2:
00002BD2 362E FFFE move.w D3, [A6 - 0x2]
00002BD6 B66E 000C cmp.w D3, [A6 + 0xC]
00002BDA 6E00 00DC bgt +0xDE /* 00002CB8 */
00002BDE 362E 0008 move.w D3, [A6 + 0x8]
00002BE2 5343 subq.w D3, 1
00002BE4 3D43 FFFC move.w [A6 - 0x4], D3
label00002BE8:
00002BE8 0C6E FFFC FFFC cmpi.w [A6 - 0x4], 0xFFFC
00002BEE 6D00 005A blt +0x5C /* 00002C4A */
00002BF2 362E FFFE move.w D3, [A6 - 0x2]
00002BF6 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002BFA 342E FFFC move.w D2, [A6 - 0x4]
00002BFE 48C2 ext.l D2
00002C00 E582 asl D2, 2
00002C02 D682 add.l D3, D2
00002C04 246D FA3A movea.l A2, [A5 - 0x5C6]
00002C08 4AB2 3800 tst.l [A2 + D3]
00002C0C 6700 0036 beq +0x38 /* 00002C44 */
00002C10 362E FFFE move.w D3, [A6 - 0x2]
00002C14 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002C18 342E FFFC move.w D2, [A6 - 0x4]
00002C1C 48C2 ext.l D2
00002C1E E582 asl D2, 2
00002C20 D682 add.l D3, D2
00002C22 246D FA3A movea.l A2, [A5 - 0x5C6]
00002C26 2F32 3800 move.l -[A7], [A2 + D3]
00002C2A 4EBA F432 jsr [PC - 0xBCE /* 0000205E */]
00002C2E 584F addq.w A7, 4
00002C30 4A40 tst.w D0
00002C32 6700 000C beq +0xE /* 00002C40 */
00002C36 7001 moveq.l D0, 0x01
label00002C38:
00002C38 4CDF 0000 movem.l <none>, [A7]+
00002C3C 4E5E unlink A6
00002C3E 4E75 rts
label00002C40:
00002C40 6000 0008 bra +0xA /* 00002C4A */
label00002C44:
00002C44 536E FFFC subq.w [A6 - 0x4], 1
00002C48 609E bra -0x60 /* 00002BE8 */
label00002C4A:
00002C4A 362E 0008 move.w D3, [A6 + 0x8]
00002C4E 5243 addq.w D3, 1
00002C50 3D43 FFFC move.w [A6 - 0x4], D3
label00002C54:
00002C54 0C6E 0004 FFFC cmpi.w [A6 - 0x4], 0x4
00002C5A 6E00 0054 bgt +0x56 /* 00002CB0 */
00002C5E 362E FFFE move.w D3, [A6 - 0x2]
00002C62 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002C66 342E FFFC move.w D2, [A6 - 0x4]
00002C6A 48C2 ext.l D2
00002C6C E582 asl D2, 2
00002C6E D682 add.l D3, D2
00002C70 246D FA3A movea.l A2, [A5 - 0x5C6]
00002C74 4AB2 3800 tst.l [A2 + D3]
00002C78 6700 0030 beq +0x32 /* 00002CAA */
00002C7C 362E FFFE move.w D3, [A6 - 0x2]
00002C80 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002C84 342E FFFC move.w D2, [A6 - 0x4]
00002C88 48C2 ext.l D2
00002C8A E582 asl D2, 2
00002C8C D682 add.l D3, D2
00002C8E 246D FA3A movea.l A2, [A5 - 0x5C6]
00002C92 2F32 3800 move.l -[A7], [A2 + D3]
00002C96 4EBA F3C6 jsr [PC - 0xC3A /* 0000205E */]
00002C9A 584F addq.w A7, 4
00002C9C 4A40 tst.w D0
00002C9E 6700 0006 beq +0x8 /* 00002CA6 */
00002CA2 7001 moveq.l D0, 0x01
00002CA4 6092 bra -0x6C /* 00002C38 */
label00002CA6:
00002CA6 6000 0008 bra +0xA /* 00002CB0 */
label00002CAA:
00002CAA 526E FFFC addq.w [A6 - 0x4], 1
00002CAE 60A4 bra -0x5A /* 00002C54 */
label00002CB0:
00002CB0 526E FFFE addq.w [A6 - 0x2], 1
00002CB4 6000 FF1C bra -0xE2 /* 00002BD2 */
label00002CB8:
00002CB8 7000 moveq.l D0, 0x00
00002CBA 6000 FF7C bra -0x82 /* 00002C38 */
fn00002CBE:
00002CBE 4E56 FFFC link A6, -0x0004
00002CC2 48E7 0000 movem.l -[A7], <none>
00002CC6 3D6E 000A FFFC move.w [A6 - 0x4], [A6 + 0xA]
label00002CCC:
00002CCC 362E FFFC move.w D3, [A6 - 0x4]
00002CD0 B66E 000C cmp.w D3, [A6 + 0xC]
00002CD4 6E00 00DC bgt +0xDE /* 00002DB2 */
00002CD8 362E 0008 move.w D3, [A6 + 0x8]
00002CDC 5343 subq.w D3, 1
00002CDE 3D43 FFFE move.w [A6 - 0x2], D3
label00002CE2:
00002CE2 0C6E FFFC FFFE cmpi.w [A6 - 0x2], 0xFFFC
00002CE8 6D00 005A blt +0x5C /* 00002D44 */
00002CEC 362E FFFE move.w D3, [A6 - 0x2]
00002CF0 C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002CF4 342E FFFC move.w D2, [A6 - 0x4]
00002CF8 48C2 ext.l D2
00002CFA E582 asl D2, 2
00002CFC D682 add.l D3, D2
00002CFE 246D FA3A movea.l A2, [A5 - 0x5C6]
00002D02 4AB2 3800 tst.l [A2 + D3]
00002D06 6700 0036 beq +0x38 /* 00002D3E */
00002D0A 362E FFFE move.w D3, [A6 - 0x2]
00002D0E C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002D12 342E FFFC move.w D2, [A6 - 0x4]
00002D16 48C2 ext.l D2
00002D18 E582 asl D2, 2
00002D1A D682 add.l D3, D2
00002D1C 246D FA3A movea.l A2, [A5 - 0x5C6]
00002D20 2F32 3800 move.l -[A7], [A2 + D3]
00002D24 4EBA F338 jsr [PC - 0xCC8 /* 0000205E */]
00002D28 584F addq.w A7, 4
00002D2A 4A40 tst.w D0
00002D2C 6700 000C beq +0xE /* 00002D3A */
00002D30 7001 moveq.l D0, 0x01
label00002D32:
00002D32 4CDF 0000 movem.l <none>, [A7]+
00002D36 4E5E unlink A6
00002D38 4E75 rts
label00002D3A:
00002D3A 6000 0008 bra +0xA /* 00002D44 */
label00002D3E:
00002D3E 536E FFFE subq.w [A6 - 0x2], 1
00002D42 609E bra -0x60 /* 00002CE2 */
label00002D44:
00002D44 362E 0008 move.w D3, [A6 + 0x8]
00002D48 5243 addq.w D3, 1
00002D4A 3D43 FFFE move.w [A6 - 0x2], D3
label00002D4E:
00002D4E 0C6E 0004 FFFE cmpi.w [A6 - 0x2], 0x4
00002D54 6E00 0054 bgt +0x56 /* 00002DAA */
00002D58 362E FFFE move.w D3, [A6 - 0x2]
00002D5C C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002D60 342E FFFC move.w D2, [A6 - 0x4]
00002D64 48C2 ext.l D2
00002D66 E582 asl D2, 2
00002D68 D682 add.l D3, D2
00002D6A 246D FA3A movea.l A2, [A5 - 0x5C6]
00002D6E 4AB2 3800 tst.l [A2 + D3]
00002D72 6700 0030 beq +0x32 /* 00002DA4 */
00002D76 362E FFFE move.w D3, [A6 - 0x2]
00002D7A C6FC 0034 mulu.w D3, 0x34 /* '4' */
00002D7E 342E FFFC move.w D2, [A6 - 0x4]
00002D82 48C2 ext.l D2
00002D84 E582 asl D2, 2
00002D86 D682 add.l D3, D2
00002D88 246D FA3A movea.l A2, [A5 - 0x5C6]
00002D8C 2F32 3800 move.l -[A7], [A2 + D3]
00002D90 4EBA F2CC jsr [PC - 0xD34 /* 0000205E */]
00002D94 584F addq.w A7, 4
00002D96 4A40 tst.w D0
00002D98 6700 0006 beq +0x8 /* 00002DA0 */
00002D9C 7001 moveq.l D0, 0x01
00002D9E 6092 bra -0x6C /* 00002D32 */
label00002DA0:
00002DA0 6000 0008 bra +0xA /* 00002DAA */
label00002DA4:
00002DA4 526E FFFE addq.w [A6 - 0x2], 1
00002DA8 60A4 bra -0x5A /* 00002D4E */
label00002DAA:
00002DAA 526E FFFC addq.w [A6 - 0x4], 1
00002DAE 6000 FF1C bra -0xE2 /* 00002CCC */
label00002DB2:
00002DB2 7000 moveq.l D0, 0x00
00002DB4 6000 FF7C bra -0x82 /* 00002D32 */
fn00002DB8:
00002DB8 4E56 FFFC link A6, -0x0004
00002DBC 48E7 0000 movem.l -[A7], <none>
00002DC0 3F3C 0018 move.w -[A7], 0x18
00002DC4 3F3C 0018 move.w -[A7], 0x18
00002DC8 486D F34A pea.l [A5 - 0xCB6]
00002DCC 486D FFC4 pea.l [A5 - 0x3C]
00002DD0 4EBA 00B6 jsr [PC + 0xB6 /* 00002E88 */]
00002DD4 DEFC 000C add.w A7, 0xC
00002DD8 3F3C 0007 move.w -[A7], 0x7
00002DDC 4267 clr.w -[A7]
00002DDE 486D F34F pea.l [A5 - 0xCB1]
00002DE2 486D FFD0 pea.l [A5 - 0x30]
00002DE6 4EBA 00A0 jsr [PC + 0xA0 /* 00002E88 */]
00002DEA DEFC 000C add.w A7, 0xC
00002DEE 3F3C 0017 move.w -[A7], 0x17
00002DF2 3F3C 0008 move.w -[A7], 0x8
00002DF6 486D F355 pea.l [A5 - 0xCAB]
00002DFA 486D FFDC pea.l [A5 - 0x24]
00002DFE 4EBA 0088 jsr [PC + 0x88 /* 00002E88 */]
00002E02 DEFC 000C add.w A7, 0xC
00002E06 246D FFDC movea.l A2, [A5 - 0x24]
00002E0A 362A 000C move.w D3, [A2 + 0xC]
00002E0E 5243 addq.w D3, 1
00002E10 3B43 FFAE move.w [A5 - 0x52], D3
00002E14 246D FFDC movea.l A2, [A5 - 0x24]
00002E18 362A 000A move.w D3, [A2 + 0xA]
00002E1C 5243 addq.w D3, 1
00002E1E 3B43 FFAC move.w [A5 - 0x54], D3
00002E22 45ED F7DC lea.l A2, [A5 - 0x824]
00002E26 2B4A FFE8 move.l [A5 - 0x18], A2
00002E2A 486D F84E pea.l [A5 - 0x7B2]
00002E2E 4267 clr.w -[A7]
00002E30 4267 clr.w -[A7]
00002E32 362D FFAE move.w D3, [A5 - 0x52]
00002E36 E343 asl D3.w, 1
00002E38 3F03 move.w -[A7], D3
00002E3A 362D FFAC move.w D3, [A5 - 0x54]
00002E3E E343 asl D3.w, 1
00002E40 3F03 move.w -[A7], D3
00002E42 A8A7 syscall SetRect
00002E44 362D F854 move.w D3, [A5 - 0x7AC]
00002E48 5E43 addq.w D3, 7
00002E4A 48C3 ext.l D3
00002E4C 87FC 0008 divs.w D3, 0x8
00002E50 3B43 F84C move.w [A5 - 0x7B4], D3
00002E54 362D F84C move.w D3, [A5 - 0x7B4]
00002E58 C6ED F852 mulu.w D3, [A5 - 0x7AE]
00002E5C 3F03 move.w -[A7], D3
00002E5E 4EBA 10C0 jsr [PC + 0x10C0 /* 00003F20 */]
00002E62 544F addq.w A7, 2
00002E64 2B40 F848 move.l [A5 - 0x7B8], D0
00002E68 486E FFFC pea.l [A6 - 0x4]
00002E6C A874 syscall GetPort
00002E6E 2F2D FFE8 move.l -[A7], [A5 - 0x18]
00002E72 A86F syscall OpenPort
00002E74 486D F848 pea.l [A5 - 0x7B8]
00002E78 A875 syscall SetPBits/SetPortBits
00002E7A 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002E7E A873 syscall SetPort
00002E80 4CDF 0000 movem.l <none>, [A7]+
00002E84 4E5E unlink A6
00002E86 4E75 rts
fn00002E88:
00002E88 4E56 FF94 link A6, -0x006C
00002E8C 48E7 0000 movem.l -[A7], <none>
00002E90 2F2E 000C move.l -[A7], [A6 + 0xC]
00002E94 486E FF98 pea.l [A6 - 0x68]
00002E98 4EBA 145C jsr [PC + 0x145C /* 000042F6 */]
00002E9C 504F addq.w A7, 8
00002E9E 486E FF98 pea.l [A6 - 0x68]
00002EA2 4EBA 150A jsr [PC + 0x150A /* 000043AE */]
00002EA6 584F addq.w A7, 4
00002EA8 42A7 clr.l -[A7]
00002EAA 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00002EB0 486E FF98 pea.l [A6 - 0x68]
00002EB4 A9A1 syscall GetNamedResource
00002EB6 201F move.l D0, [A7]+
00002EB8 2D40 FFFC move.l [A6 - 0x4], D0
00002EBC 246E 0008 movea.l A2, [A6 + 0x8]
00002EC0 2F0A move.l -[A7], A2
00002EC2 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002EC6 4EBA F4DA jsr [PC - 0xB26 /* 000023A2 */]
00002ECA 584F addq.w A7, 4
00002ECC 245F movea.l A2, [A7]+
00002ECE 2480 move.l [A2], D0
00002ED0 486E FF98 pea.l [A6 - 0x68]
00002ED4 4EBA 1578 jsr [PC + 0x1578 /* 0000444E */]
00002ED8 584F addq.w A7, 4
00002EDA 486D F35F pea.l [A5 - 0xCA1]
00002EDE 486E FF98 pea.l [A6 - 0x68]
00002EE2 4EBA 13EE jsr [PC + 0x13EE /* 000042D2 */]
00002EE6 504F addq.w A7, 8
00002EE8 486E FF98 pea.l [A6 - 0x68]
00002EEC 4EBA 14C0 jsr [PC + 0x14C0 /* 000043AE */]
00002EF0 584F addq.w A7, 4
00002EF2 42A7 clr.l -[A7]
00002EF4 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00002EFA 486E FF98 pea.l [A6 - 0x68]
00002EFE A9A1 syscall GetNamedResource
00002F00 201F move.l D0, [A7]+
00002F02 2D40 FFFC move.l [A6 - 0x4], D0
00002F06 246E 0008 movea.l A2, [A6 + 0x8]
00002F0A 2F0A move.l -[A7], A2
00002F0C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002F10 4EBA F490 jsr [PC - 0xB70 /* 000023A2 */]
00002F14 584F addq.w A7, 4
00002F16 245F movea.l A2, [A7]+
00002F18 2540 0004 move.l [A2 + 0x4], D0
00002F1C 246E 0008 movea.l A2, [A6 + 0x8]
00002F20 2252 movea.l A1, [A2]
00002F22 3629 000C move.w D3, [A1 + 0xC]
00002F26 48C3 ext.l D3
00002F28 87FC 0002 divs.w D3, 0x2
00002F2C 3543 000A move.w [A2 + 0xA], D3
00002F30 246E 0008 movea.l A2, [A6 + 0x8]
00002F34 2252 movea.l A1, [A2]
00002F36 3629 000A move.w D3, [A1 + 0xA]
00002F3A 48C3 ext.l D3
00002F3C 87FC 0002 divs.w D3, 0x2
00002F40 3543 0008 move.w [A2 + 0x8], D3
00002F44 362E 0010 move.w D3, [A6 + 0x10]
00002F48 C6FC 001A mulu.w D3, 0x1A
00002F4C 45ED FA4A lea.l A2, [A5 - 0x5B6]
00002F50 D68A add.l D3, A2
00002F52 2D43 FF94 move.l [A6 - 0x6C], D3
label00002F56:
00002F56 362E 0012 move.w D3, [A6 + 0x12]
00002F5A C6FC 001A mulu.w D3, 0x1A
00002F5E 45ED FA4A lea.l A2, [A5 - 0x5B6]
00002F62 D68A add.l D3, A2
00002F64 246E FF94 movea.l A2, [A6 - 0x6C]
00002F68 B5C3 cmpa.l A2, D3
00002F6A 6200 00A4 bhi +0xA6 /* 00003010 */
00002F6E 246E FF94 movea.l A2, [A6 - 0x6C]
00002F72 24AE 0008 move.l [A2], [A6 + 0x8]
00002F76 246E FF94 movea.l A2, [A6 - 0x6C]
00002F7A 226E 0008 movea.l A1, [A6 + 0x8]
00002F7E 2051 movea.l A0, [A1]
00002F80 3568 0004 0008 move.w [A2 + 0x8], [A0 + 0x4]
00002F86 3F3C 0008 move.w -[A7], 0x8
00002F8A 246E FF94 movea.l A2, [A6 - 0x6C]
00002F8E D5FC 0000 000A add.l A2, 0xA /* '\n' */
00002F94 2F0A move.l -[A7], A2
00002F96 246E 0008 movea.l A2, [A6 + 0x8]
00002F9A 2252 movea.l A1, [A2]
00002F9C 5C89 addq.l A1, 6
00002F9E 2F09 move.l -[A7], A1
00002FA0 4EBA 1022 jsr [PC + 0x1022 /* 00003FC4 */]
00002FA4 DEFC 000A add.w A7, 0xA /* '\n' */
00002FA8 246E FF94 movea.l A2, [A6 - 0x6C]
00002FAC D5FC 0000 000A add.l A2, 0xA /* '\n' */
00002FB2 2F0A move.l -[A7], A2
00002FB4 3F3C FC18 move.w -[A7], 0xFC18
00002FB8 3F3C FC18 move.w -[A7], 0xFC18
00002FBC A8A8 syscall OffsetRect
00002FBE 246E FF94 movea.l A2, [A6 - 0x6C]
00002FC2 2F0A move.l -[A7], A2
00002FC4 246E FF94 movea.l A2, [A6 - 0x6C]
00002FC8 226E 0008 movea.l A1, [A6 + 0x8]
00002FCC 2051 movea.l A0, [A1]
00002FCE 362A 0008 move.w D3, [A2 + 0x8]
00002FD2 C6E8 000A mulu.w D3, [A0 + 0xA]
00002FD6 3F03 move.w -[A7], D3
00002FD8 4EBA 0F46 jsr [PC + 0xF46 /* 00003F20 */]
00002FDC 544F addq.w A7, 2
00002FDE 245F movea.l A2, [A7]+
00002FE0 2540 0004 move.l [A2 + 0x4], D0
00002FE4 246E FF94 movea.l A2, [A6 - 0x6C]
00002FE8 357C FF9C 0014 move.w [A2 + 0x14], 0xFF9C
00002FEE 246E FF94 movea.l A2, [A6 - 0x6C]
00002FF2 357C FF9C 0012 move.w [A2 + 0x12], 0xFF9C
00002FF8 246E FF94 movea.l A2, [A6 - 0x6C]
00002FFC 43ED F366 lea.l A1, [A5 - 0xC9A]
00003000 2549 0016 move.l [A2 + 0x16], A1
00003004 06AE 0000 001A FF94 addi.l [A6 - 0x6C], 0x1A
0000300C 6000 FF48 bra -0xB6 /* 00002F56 */
label00003010:
00003010 4CDF 0000 movem.l <none>, [A7]+
00003014 4E5E unlink A6
00003016 4E75 rts
fn00003018:
00003018 4E56 FFDC link A6, -0x0024
0000301C 48E7 0000 movem.l -[A7], <none>
00003020 362E 0008 move.w D3, [A6 + 0x8]
00003024 C6FC 001A mulu.w D3, 0x1A
00003028 45ED FA4A lea.l A2, [A5 - 0x5B6]
0000302C D68A add.l D3, A2
0000302E 2D43 FFFC move.l [A6 - 0x4], D3
00003032 246E FFFC movea.l A2, [A6 - 0x4]
00003036 2252 movea.l A1, [A2]
00003038 3629 000A move.w D3, [A1 + 0xA]
0000303C 976E 000A sub.w [A6 + 0xA], D3
00003040 246E FFFC movea.l A2, [A6 - 0x4]
00003044 2252 movea.l A1, [A2]
00003046 3629 0008 move.w D3, [A1 + 0x8]
0000304A 976E 000C sub.w [A6 + 0xC], D3
0000304E 246E FFFC movea.l A2, [A6 - 0x4]
00003052 362E 000A move.w D3, [A6 + 0xA]
00003056 B66A 000C cmp.w D3, [A2 + 0xC]
0000305A 6600 001A bne +0x1C /* 00003076 */
0000305E 246E FFFC movea.l A2, [A6 - 0x4]
00003062 362E 000C move.w D3, [A6 + 0xC]
00003066 B66A 000A cmp.w D3, [A2 + 0xA]
0000306A 6600 000A bne +0xC /* 00003076 */
label0000306E:
0000306E 4CDF 0000 movem.l <none>, [A7]+
00003072 4E5E unlink A6
00003074 4E75 rts
label00003076:
00003076 3F3C 0008 move.w -[A7], 0x8
0000307A 486E FFF4 pea.l [A6 - 0xC]
0000307E 246E FFFC movea.l A2, [A6 - 0x4]
00003082 D5FC 0000 000A add.l A2, 0xA /* '\n' */
00003088 2F0A move.l -[A7], A2
0000308A 4EBA 0F38 jsr [PC + 0xF38 /* 00003FC4 */]
0000308E DEFC 000A add.w A7, 0xA /* '\n' */
00003092 486E FFF4 pea.l [A6 - 0xC]
00003096 362E FFF6 move.w D3, [A6 - 0xA]
0000309A 4443 neg.w D3
0000309C D66E 000A add.w D3, [A6 + 0xA]
000030A0 3F03 move.w -[A7], D3
000030A2 362E FFF4 move.w D3, [A6 - 0xC]
000030A6 4443 neg.w D3
000030A8 D66E 000C add.w D3, [A6 + 0xC]
000030AC 3F03 move.w -[A7], D3
000030AE A8A8 syscall OffsetRect
000030B0 246E FFFC movea.l A2, [A6 - 0x4]
000030B4 0C6A 0000 0010 cmpi.w [A2 + 0x10], 0x0
000030BA 6D00 00E2 blt +0xE4 /* 0000319E */
000030BE 4267 clr.w -[A7]
000030C0 246E FFFC movea.l A2, [A6 - 0x4]
000030C4 D5FC 0000 000A add.l A2, 0xA /* '\n' */
000030CA 2F0A move.l -[A7], A2
000030CC 486E FFF4 pea.l [A6 - 0xC]
000030D0 486E FFEC pea.l [A6 - 0x14]
000030D4 A8AA syscall SectRect
000030D6 101F move.b D0, [A7]+
000030D8 4A00 tst.b D0
000030DA 6700 0086 beq +0x88 /* 00003162 */
000030DE 246E FFFC movea.l A2, [A6 - 0x4]
000030E2 D5FC 0000 000A add.l A2, 0xA /* '\n' */
000030E8 2F0A move.l -[A7], A2
000030EA 486E FFF4 pea.l [A6 - 0xC]
000030EE 486E FFEC pea.l [A6 - 0x14]
000030F2 A8AB syscall UnionRect
000030F4 246D FFE8 movea.l A2, [A5 - 0x18]
000030F8 508A addq.l A2, 8
000030FA 2F0A move.l -[A7], A2
000030FC 246D FFE8 movea.l A2, [A5 - 0x18]
00003100 362A 000A move.w D3, [A2 + 0xA]
00003104 4443 neg.w D3
00003106 D66E FFEE add.w D3, [A6 - 0x12]
0000310A 3F03 move.w -[A7], D3
0000310C 246D FFE8 movea.l A2, [A5 - 0x18]
00003110 362A 0008 move.w D3, [A2 + 0x8]
00003114 4443 neg.w D3
00003116 D66E FFEC add.w D3, [A6 - 0x14]
0000311A 3F03 move.w -[A7], D3
0000311C A8A8 syscall OffsetRect
0000311E 4267 clr.w -[A7]
00003120 246D FA28 movea.l A2, [A5 - 0x5D8]
00003124 508A addq.l A2, 8
00003126 2F0A move.l -[A7], A2
00003128 246D FFE8 movea.l A2, [A5 - 0x18]
0000312C 508A addq.l A2, 8
0000312E 2F0A move.l -[A7], A2
00003130 486E FFE4 pea.l [A6 - 0x1C]
00003134 A8AA syscall SectRect
00003136 101F move.b D0, [A7]+
00003138 246D FA28 movea.l A2, [A5 - 0x5D8]
0000313C 548A addq.l A2, 2
0000313E 2F0A move.l -[A7], A2
00003140 246D FFE8 movea.l A2, [A5 - 0x18]
00003144 548A addq.l A2, 2
00003146 2F0A move.l -[A7], A2
00003148 486E FFE4 pea.l [A6 - 0x1C]
0000314C 486E FFE4 pea.l [A6 - 0x1C]
00003150 4267 clr.w -[A7]
00003152 42A7 clr.l -[A7]
00003154 A8EC syscall CopyBits
00003156 486E FFE0 pea.l [A6 - 0x20]
0000315A A874 syscall GetPort
0000315C 2F2D FFE8 move.l -[A7], [A5 - 0x18]
00003160 A873 syscall SetPort
label00003162:
00003162 4267 clr.w -[A7]
00003164 246E FFFC movea.l A2, [A6 - 0x4]
00003168 D5FC 0000 000A add.l A2, 0xA /* '\n' */
0000316E 2F0A move.l -[A7], A2
00003170 246D FA28 movea.l A2, [A5 - 0x5D8]
00003174 508A addq.l A2, 8
00003176 2F0A move.l -[A7], A2
00003178 486E FFE4 pea.l [A6 - 0x1C]
0000317C A8AA syscall SectRect
0000317E 101F move.b D0, [A7]+
00003180 246E FFFC movea.l A2, [A6 - 0x4]
00003184 588A addq.l A2, 4
00003186 2F0A move.l -[A7], A2
00003188 246D FA28 movea.l A2, [A5 - 0x5D8]
0000318C 548A addq.l A2, 2
0000318E 2F0A move.l -[A7], A2
00003190 486E FFE4 pea.l [A6 - 0x1C]
00003194 486E FFE4 pea.l [A6 - 0x1C]
00003198 4267 clr.w -[A7]
0000319A 42A7 clr.l -[A7]
0000319C A8EC syscall CopyBits
label0000319E:
0000319E 246E FFFC movea.l A2, [A6 - 0x4]
000031A2 D5FC 0000 000A add.l A2, 0xA /* '\n' */
000031A8 2F0A move.l -[A7], A2
000031AA 246E FFFC movea.l A2, [A6 - 0x4]
000031AE 362A 000C move.w D3, [A2 + 0xC]
000031B2 4443 neg.w D3
000031B4 D66E 000A add.w D3, [A6 + 0xA]
000031B8 3F03 move.w -[A7], D3
000031BA 246E FFFC movea.l A2, [A6 - 0x4]
000031BE 362A 000A move.w D3, [A2 + 0xA]
000031C2 4443 neg.w D3
000031C4 D66E 000C add.w D3, [A6 + 0xC]
000031C8 3F03 move.w -[A7], D3
000031CA A8A8 syscall OffsetRect
000031CC 246E FFFC movea.l A2, [A6 - 0x4]
000031D0 0C6A 0000 0010 cmpi.w [A2 + 0x10], 0x0
000031D6 6D00 00A6 blt +0xA8 /* 0000327E */
000031DA 4267 clr.w -[A7]
000031DC 246D FA28 movea.l A2, [A5 - 0x5D8]
000031E0 508A addq.l A2, 8
000031E2 2F0A move.l -[A7], A2
000031E4 246E FFFC movea.l A2, [A6 - 0x4]
000031E8 D5FC 0000 000A add.l A2, 0xA /* '\n' */
000031EE 2F0A move.l -[A7], A2
000031F0 486E FFE4 pea.l [A6 - 0x1C]
000031F4 A8AA syscall SectRect
000031F6 101F move.b D0, [A7]+
000031F8 246D FA28 movea.l A2, [A5 - 0x5D8]
000031FC 548A addq.l A2, 2
000031FE 2F0A move.l -[A7], A2
00003200 246E FFFC movea.l A2, [A6 - 0x4]
00003204 588A addq.l A2, 4
00003206 2F0A move.l -[A7], A2
00003208 486E FFE4 pea.l [A6 - 0x1C]
0000320C 486E FFE4 pea.l [A6 - 0x1C]
00003210 4267 clr.w -[A7]
00003212 42A7 clr.l -[A7]
00003214 A8EC syscall CopyBits
00003216 202E FFFC move.l D0, [A6 - 0x4]
0000321A 45ED FA4A lea.l A2, [A5 - 0x5B6]
0000321E 908A sub.l D0, A2
00003220 721A moveq.l D1, 0x1A
00003222 4EBA 0C64 jsr [PC + 0xC64 /* 00003E88 */]
00003226 3F00 move.w -[A7], D0
00003228 4EBA 0058 jsr [PC + 0x58 /* 00003282 */]
0000322C 544F addq.w A7, 2
0000322E 486E FFDC pea.l [A6 - 0x24]
00003232 A874 syscall GetPort
00003234 246E FFDC movea.l A2, [A6 - 0x24]
00003238 B5ED FFE8 cmpa.l A2, [A5 - 0x18]
0000323C 6600 0040 bne +0x42 /* 0000327E */
00003240 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00003244 A873 syscall SetPort
00003246 4267 clr.w -[A7]
00003248 246D FFE8 movea.l A2, [A5 - 0x18]
0000324C 508A addq.l A2, 8
0000324E 2F0A move.l -[A7], A2
00003250 246D FA28 movea.l A2, [A5 - 0x5D8]
00003254 508A addq.l A2, 8
00003256 2F0A move.l -[A7], A2
00003258 486E FFE4 pea.l [A6 - 0x1C]
0000325C A8AA syscall SectRect
0000325E 101F move.b D0, [A7]+
00003260 246D FFE8 movea.l A2, [A5 - 0x18]
00003264 548A addq.l A2, 2
00003266 2F0A move.l -[A7], A2
00003268 246D FA28 movea.l A2, [A5 - 0x5D8]
0000326C 548A addq.l A2, 2
0000326E 2F0A move.l -[A7], A2
00003270 486E FFE4 pea.l [A6 - 0x1C]
00003274 486E FFE4 pea.l [A6 - 0x1C]
00003278 4267 clr.w -[A7]
0000327A 42A7 clr.l -[A7]
0000327C A8EC syscall CopyBits
label0000327E:
0000327E 6000 FDEE bra -0x210 /* 0000306E */
fn00003282:
00003282 4E56 FFF4 link A6, -0x000C
00003286 48E7 0000 movem.l -[A7], <none>
0000328A 362E 0008 move.w D3, [A6 + 0x8]
0000328E C6FC 001A mulu.w D3, 0x1A
00003292 45ED FA4A lea.l A2, [A5 - 0x5B6]
00003296 D68A add.l D3, A2
00003298 2D43 FFFC move.l [A6 - 0x4], D3
0000329C 4267 clr.w -[A7]
0000329E 246E FFFC movea.l A2, [A6 - 0x4]
000032A2 D5FC 0000 000A add.l A2, 0xA /* '\n' */
000032A8 2F0A move.l -[A7], A2
000032AA 246D FA28 movea.l A2, [A5 - 0x5D8]
000032AE 508A addq.l A2, 8
000032B0 2F0A move.l -[A7], A2
000032B2 486E FFF4 pea.l [A6 - 0xC]
000032B6 A8AA syscall SectRect
000032B8 101F move.b D0, [A7]+
000032BA 246E FFFC movea.l A2, [A6 - 0x4]
000032BE 2252 movea.l A1, [A2]
000032C0 2F29 0004 move.l -[A7], [A1 + 0x4]
000032C4 246D FA28 movea.l A2, [A5 - 0x5D8]
000032C8 548A addq.l A2, 2
000032CA 2F0A move.l -[A7], A2
000032CC 246E FFFC movea.l A2, [A6 - 0x4]
000032D0 2252 movea.l A1, [A2]
000032D2 2469 0004 movea.l A2, [A1 + 0x4]
000032D6 5C8A addq.l A2, 6
000032D8 2F0A move.l -[A7], A2
000032DA 486E FFF4 pea.l [A6 - 0xC]
000032DE 3F3C 0003 move.w -[A7], 0x3
000032E2 42A7 clr.l -[A7]
000032E4 A8EC syscall CopyBits
000032E6 246E FFFC movea.l A2, [A6 - 0x4]
000032EA 2252 movea.l A1, [A2]
000032EC 2F11 move.l -[A7], [A1]
000032EE 246D FA28 movea.l A2, [A5 - 0x5D8]
000032F2 548A addq.l A2, 2
000032F4 2F0A move.l -[A7], A2
000032F6 246E FFFC movea.l A2, [A6 - 0x4]
000032FA 2252 movea.l A1, [A2]
000032FC 2451 movea.l A2, [A1]
000032FE 5C8A addq.l A2, 6
00003300 2F0A move.l -[A7], A2
00003302 486E FFF4 pea.l [A6 - 0xC]
00003306 3F3C 0002 move.w -[A7], 0x2
0000330A 42A7 clr.l -[A7]
0000330C A8EC syscall CopyBits
0000330E 4CDF 0000 movem.l <none>, [A7]+
00003312 4E5E unlink A6
00003314 4E75 rts
fn00003316:
00003316 4E56 0000 link A6, 0
0000331A 48E7 0000 movem.l -[A7], <none>
0000331E 426D FCDE clr.w [A5 - 0x322]
00003322 426D FCF2 clr.w [A5 - 0x30E]
00003326 45ED FE0E lea.l A2, [A5 - 0x1F2]
0000332A 2B4A FFEC move.l [A5 - 0x14], A2
0000332E 246D FFEC movea.l A2, [A5 - 0x14]
00003332 4292 clr.l [A2]
00003334 262D FFEC move.l D3, [A5 - 0x14]
00003338 5883 addq.l D3, 4
0000333A 2B43 FFF0 move.l [A5 - 0x10], D3
0000333E 4CDF 0000 movem.l <none>, [A7]+
00003342 4E5E unlink A6
00003344 4E75 rts
fn00003346:
00003346 4E56 FFFC link A6, -0x0004
0000334A 48E7 0000 movem.l -[A7], <none>
0000334E 362E 0008 move.w D3, [A6 + 0x8]
00003352 B66D FCF2 cmp.w D3, [A5 - 0x30E]
00003356 6D00 000C blt +0xE /* 00003364 */
0000335A 362D FCF2 move.w D3, [A5 - 0x30E]
0000335E 5343 subq.w D3, 1
00003360 3D43 0008 move.w [A6 + 0x8], D3
label00003364:
00003364 0C6E 0000 0008 cmpi.w [A6 + 0x8], 0x0
0000336A 6C00 0006 bge +0x8 /* 00003372 */
0000336E 426E 0008 clr.w [A6 + 0x8]
label00003372:
00003372 362E 0008 move.w D3, [A6 + 0x8]
00003376 48C3 ext.l D3
00003378 87FC 000A divs.w D3, 0xA /* '\n' */
0000337C 3D43 FFFE move.w [A6 - 0x2], D3
00003380 362E 0008 move.w D3, [A6 + 0x8]
00003384 48C3 ext.l D3
00003386 87FC 000A divs.w D3, 0xA /* '\n' */
0000338A 4843 swap.w D3
0000338C 3D43 FFFC move.w [A6 - 0x4], D3
00003390 45ED FE0E lea.l A2, [A5 - 0x1F2]
00003394 2B4A FFEC move.l [A5 - 0x14], A2
label00003398:
00003398 0C6E 0000 FFFE cmpi.w [A6 - 0x2], 0x0
0000339E 6F00 0010 ble +0x12 /* 000033B0 */
000033A2 246D FFEC movea.l A2, [A5 - 0x14]
000033A6 2B52 FFEC move.l [A5 - 0x14], [A2]
000033AA 536E FFFE subq.w [A6 - 0x2], 1
000033AE 60E8 bra -0x16 /* 00003398 */
label000033B0:
000033B0 362E FFFC move.w D3, [A6 - 0x4]
000033B4 C6FC 0015 mulu.w D3, 0x15
000033B8 48C3 ext.l D3
000033BA D6AD FFEC add.l D3, [A5 - 0x14]
000033BE 5883 addq.l D3, 4
000033C0 2B43 FFF0 move.l [A5 - 0x10], D3
000033C4 3B6E 0008 FCDE move.w [A5 - 0x322], [A6 + 0x8]
000033CA 4CDF 0000 movem.l <none>, [A7]+
000033CE 4E5E unlink A6
000033D0 4E75 rts
fn000033D2:
000033D2 4E56 FFEC link A6, -0x0014
000033D6 48E7 0000 movem.l -[A7], <none>
000033DA 426E FFFE clr.w [A6 - 0x2]
label000033DE:
000033DE 0C6E 0019 FFFE cmpi.w [A6 - 0x2], 0x19
000033E4 6C00 0012 bge +0x14 /* 000033F8 */
000033E8 3F2E FFFE move.w -[A7], [A6 - 0x2]
000033EC 4EBA E9A2 jsr [PC - 0x165E /* 00001D90 */]
000033F0 544F addq.w A7, 2
000033F2 526E FFFE addq.w [A6 - 0x2], 1
000033F6 60E6 bra -0x18 /* 000033DE */
label000033F8:
000033F8 3D7C 0018 FFFC move.w [A6 - 0x4], 0x18
000033FE 426E FFFA clr.w [A6 - 0x6]
00003402 3D7C 0008 FFF8 move.w [A6 - 0x8], 0x8
00003408 2D6D FFF0 FFF0 move.l [A6 - 0x10], [A5 - 0x10]
0000340E 426E FFEC clr.w [A6 - 0x14]
00003412 3D7C FFFC FFF6 move.w [A6 - 0xA], 0xFFFC
label00003418:
00003418 0C6E 0004 FFF6 cmpi.w [A6 - 0xA], 0x4
0000341E 6E00 00D4 bgt +0xD6 /* 000034F4 */
00003422 3D7C FFFC FFF4 move.w [A6 - 0xC], 0xFFFC
label00003428:
00003428 0C6E 0004 FFF4 cmpi.w [A6 - 0xC], 0x4
0000342E 6E00 00BC bgt +0xBE /* 000034EC */
00003432 246E FFF0 movea.l A2, [A6 - 0x10]
00003436 1612 move.b D3, [A2]
00003438 4883 ext.w D3
0000343A 342E FFEC move.w D2, [A6 - 0x14]
0000343E E463 asr D3.w, D2
00003440 C67C 0003 and.w D3, 0x3
00003444 3D43 FFEE move.w [A6 - 0x12], D3
00003448 302E FFEE move.w D0, [A6 - 0x12]
0000344C 6000 0074 bra +0x76 /* 000034C2 */
label00003450:
00003450 0C6E 0018 FFFC cmpi.w [A6 - 0x4], 0x18
00003456 6E00 001A bgt +0x1C /* 00003472 */
0000345A 3F2E FFF4 move.w -[A7], [A6 - 0xC]
0000345E 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00003462 362E FFFC move.w D3, [A6 - 0x4]
00003466 526E FFFC addq.w [A6 - 0x4], 1
0000346A 3F03 move.w -[A7], D3
0000346C 4EBA E704 jsr [PC - 0x18FC /* 00001B72 */]
00003470 5C4F addq.w A7, 6
label00003472:
00003472 6000 005A bra +0x5C /* 000034CE */
label00003476:
00003476 0C6E 0007 FFFA cmpi.w [A6 - 0x6], 0x7
0000347C 6E00 001A bgt +0x1C /* 00003498 */
00003480 3F2E FFF4 move.w -[A7], [A6 - 0xC]
00003484 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00003488 362E FFFA move.w D3, [A6 - 0x6]
0000348C 526E FFFA addq.w [A6 - 0x6], 1
00003490 3F03 move.w -[A7], D3
00003492 4EBA E6DE jsr [PC - 0x1922 /* 00001B72 */]
00003496 5C4F addq.w A7, 6
label00003498:
00003498 6000 0034 bra +0x36 /* 000034CE */
label0000349C:
0000349C 0C6E 0017 FFF8 cmpi.w [A6 - 0x8], 0x17
000034A2 6E00 001A bgt +0x1C /* 000034BE */
000034A6 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000034AA 3F2E FFF6 move.w -[A7], [A6 - 0xA]
000034AE 362E FFF8 move.w D3, [A6 - 0x8]
000034B2 526E FFF8 addq.w [A6 - 0x8], 1
000034B6 3F03 move.w -[A7], D3
000034B8 4EBA E6B8 jsr [PC - 0x1948 /* 00001B72 */]
000034BC 5C4F addq.w A7, 6
label000034BE:
000034BE 6000 000E bra +0x10 /* 000034CE */
label000034C2:
000034C2 5340 subq.w D0, 1
000034C4 67B0 beq -0x4E /* 00003476 */
000034C6 5340 subq.w D0, 1
000034C8 67D2 beq -0x2C /* 0000349C */
000034CA 5340 subq.w D0, 1
000034CC 6782 beq -0x7C /* 00003450 */
label000034CE:
000034CE 546E FFEC addq.w [A6 - 0x14], 2
000034D2 0C6E 0008 FFEC cmpi.w [A6 - 0x14], 0x8
000034D8 6D00 000A blt +0xC /* 000034E4 */
000034DC 426E FFEC clr.w [A6 - 0x14]
000034E0 52AE FFF0 addq.l [A6 - 0x10], 1
label000034E4:
000034E4 526E FFF4 addq.w [A6 - 0xC], 1
000034E8 6000 FF3E bra -0xC0 /* 00003428 */
label000034EC:
000034EC 526E FFF6 addq.w [A6 - 0xA], 1
000034F0 6000 FF26 bra -0xD8 /* 00003418 */
label000034F4:
000034F4 0C6E 0017 FFF8 cmpi.w [A6 - 0x8], 0x17
000034FA 6E00 0014 bgt +0x16 /* 00003510 */
000034FE 362E FFF8 move.w D3, [A6 - 0x8]
00003502 526E FFF8 addq.w [A6 - 0x8], 1
00003506 3F03 move.w -[A7], D3
00003508 4EBA E74A jsr [PC - 0x18B6 /* 00001C54 */]
0000350C 544F addq.w A7, 2
0000350E 60E4 bra -0x1A /* 000034F4 */
label00003510:
00003510 0C6E 0007 FFFA cmpi.w [A6 - 0x6], 0x7
00003516 6E00 0014 bgt +0x16 /* 0000352C */
0000351A 362E FFFA move.w D3, [A6 - 0x6]
0000351E 526E FFFA addq.w [A6 - 0x6], 1
00003522 3F03 move.w -[A7], D3
00003524 4EBA E72E jsr [PC - 0x18D2 /* 00001C54 */]
00003528 544F addq.w A7, 2
0000352A 60E4 bra -0x1A /* 00003510 */
label0000352C:
0000352C 0C6E 0018 FFFC cmpi.w [A6 - 0x4], 0x18
00003532 6E00 0014 bgt +0x16 /* 00003548 */
00003536 362E FFFC move.w D3, [A6 - 0x4]
0000353A 526E FFFC addq.w [A6 - 0x4], 1
0000353E 3F03 move.w -[A7], D3
00003540 4EBA E712 jsr [PC - 0x18EE /* 00001C54 */]
00003544 544F addq.w A7, 2
00003546 60E4 bra -0x1A /* 0000352C */
label00003548:
00003548 246E FFF0 movea.l A2, [A6 - 0x10]
0000354C 1612 move.b D3, [A2]
0000354E 4883 ext.w D3
00003550 342E FFEC move.w D2, [A6 - 0x14]
00003554 E463 asr D3.w, D2
00003556 C67C 0003 and.w D3, 0x3
0000355A 3D43 FFEE move.w [A6 - 0x12], D3
0000355E 302E FFEE move.w D0, [A6 - 0x12]
00003562 6000 0032 bra +0x34 /* 00003596 */
label00003566:
00003566 3B7C 0001 FCF0 move.w [A5 - 0x310], 0x1
0000356C 3F3C 0001 move.w -[A7], 0x1
00003570 4EBA D29C jsr [PC - 0x2D64 /* 0000080E */]
00003574 544F addq.w A7, 2
00003576 6000 0028 bra +0x2A /* 000035A0 */
label0000357A:
0000357A 3B7C 0002 FCF0 move.w [A5 - 0x310], 0x2
00003580 3F3C 0001 move.w -[A7], 0x1
00003584 4EBA D288 jsr [PC - 0x2D78 /* 0000080E */]
00003588 544F addq.w A7, 2
0000358A 6000 0014 bra +0x16 /* 000035A0 */
label0000358E:
0000358E 426D FCF0 clr.w [A5 - 0x310]
00003592 6000 000C bra +0xE /* 000035A0 */
label00003596:
00003596 5340 subq.w D0, 1
00003598 67CC beq -0x32 /* 00003566 */
0000359A 5340 subq.w D0, 1
0000359C 67DC beq -0x22 /* 0000357A */
0000359E 60EE bra -0x10 /* 0000358E */
label000035A0:
000035A0 4267 clr.w -[A7]
000035A2 4EBA 01BC jsr [PC + 0x1BC /* 00003760 */]
000035A6 544F addq.w A7, 2
000035A8 4CDF 0000 movem.l <none>, [A7]+
000035AC 4E5E unlink A6
000035AE 4E75 rts
fn000035B0:
000035B0 4E56 FFF4 link A6, -0x000C
000035B4 48E7 0000 movem.l -[A7], <none>
000035B8 246D FFEC movea.l A2, [A5 - 0x14]
000035BC D5FC 0000 00D6 add.l A2, 0xD6
000035C2 226D FFF0 movea.l A1, [A5 - 0x10]
000035C6 B3CA cmpa.l A1, A2
000035C8 6500 0042 bcs +0x44 /* 0000360C */
000035CC 246D FFEC movea.l A2, [A5 - 0x14]
000035D0 2F0A move.l -[A7], A2
000035D2 3F3C 00D6 move.w -[A7], 0xD6
000035D6 4EBA 0948 jsr [PC + 0x948 /* 00003F20 */]
000035DA 544F addq.w A7, 2
000035DC 245F movea.l A2, [A7]+
000035DE 2480 move.l [A2], D0
000035E0 4A80 tst.l D0
000035E2 6600 0010 bne +0x12 /* 000035F4 */
000035E6 3F3C 0001 move.w -[A7], 0x1
000035EA 4EBA D822 jsr [PC - 0x27DE /* 00000E0E */]
000035EE 544F addq.w A7, 2
000035F0 4EBA DDEA jsr [PC - 0x2216 /* 000013DC */]
label000035F4:
000035F4 246D FFEC movea.l A2, [A5 - 0x14]
000035F8 2B52 FFEC move.l [A5 - 0x14], [A2]
000035FC 246D FFEC movea.l A2, [A5 - 0x14]
00003600 4292 clr.l [A2]
00003602 262D FFEC move.l D3, [A5 - 0x14]
00003606 5883 addq.l D3, 4
00003608 2B43 FFF0 move.l [A5 - 0x10], D3
label0000360C:
0000360C 2D6D FFF0 FFF8 move.l [A6 - 0x8], [A5 - 0x10]
00003612 426E FFF4 clr.w [A6 - 0xC]
00003616 3D7C FFFC FFFE move.w [A6 - 0x2], 0xFFFC
label0000361C:
0000361C 0C6E 0004 FFFE cmpi.w [A6 - 0x2], 0x4
00003622 6E00 00CA bgt +0xCC /* 000036EE */
00003626 3D7C FFFC FFFC move.w [A6 - 0x4], 0xFFFC
label0000362C:
0000362C 0C6E 0004 FFFC cmpi.w [A6 - 0x4], 0x4
00003632 6E00 00B2 bgt +0xB4 /* 000036E6 */
00003636 426E FFF6 clr.w [A6 - 0xA]
0000363A 362E FFFE move.w D3, [A6 - 0x2]
0000363E C6FC 0034 mulu.w D3, 0x34 /* '4' */
00003642 342E FFFC move.w D2, [A6 - 0x4]
00003646 48C2 ext.l D2
00003648 E582 asl D2, 2
0000364A D682 add.l D3, D2
0000364C 246D FA3A movea.l A2, [A5 - 0x5C6]
00003650 4AB2 3800 tst.l [A2 + D3]
00003654 6700 0054 beq +0x56 /* 000036AA */
00003658 362E FFFE move.w D3, [A6 - 0x2]
0000365C C6FC 0034 mulu.w D3, 0x34 /* '4' */
00003660 342E FFFC move.w D2, [A6 - 0x4]
00003664 48C2 ext.l D2
00003666 E582 asl D2, 2
00003668 D682 add.l D3, D2
0000366A 246D FA3A movea.l A2, [A5 - 0x5C6]
0000366E 2F32 3800 move.l -[A7], [A2 + D3]
00003672 4EBA EA60 jsr [PC - 0x15A0 /* 000020D4 */]
00003676 584F addq.w A7, 4
00003678 6000 0020 bra +0x22 /* 0000369A */
label0000367C:
0000367C 3D7C 0001 FFF6 move.w [A6 - 0xA], 0x1
00003682 6000 0026 bra +0x28 /* 000036AA */
label00003686:
00003686 3D7C 0002 FFF6 move.w [A6 - 0xA], 0x2
0000368C 6000 001C bra +0x1E /* 000036AA */
label00003690:
00003690 3D7C 0003 FFF6 move.w [A6 - 0xA], 0x3
00003696 6000 0012 bra +0x14 /* 000036AA */
label0000369A:
0000369A 907C 0000 sub.w D0, 0x0
0000369E 67DC beq -0x22 /* 0000367C */
000036A0 5140 subq.w D0, 8
000036A2 67E2 beq -0x1C /* 00003686 */
000036A4 907C 0010 sub.w D0, 0x10
000036A8 67E6 beq -0x18 /* 00003690 */
label000036AA:
000036AA 4A6E FFF4 tst.w [A6 - 0xC]
000036AE 6600 0008 bne +0xA /* 000036B8 */
000036B2 246E FFF8 movea.l A2, [A6 - 0x8]
000036B6 4212 clr.b [A2]
label000036B8:
000036B8 246E FFF8 movea.l A2, [A6 - 0x8]
000036BC 362E FFF6 move.w D3, [A6 - 0xA]
000036C0 342E FFF4 move.w D2, [A6 - 0xC]
000036C4 E563 asl D3.w, D2
000036C6 8712 or.b [A2], D3
000036C8 546E FFF4 addq.w [A6 - 0xC], 2
000036CC 0C6E 0008 FFF4 cmpi.w [A6 - 0xC], 0x8
000036D2 6D00 000A blt +0xC /* 000036DE */
000036D6 426E FFF4 clr.w [A6 - 0xC]
000036DA 52AE FFF8 addq.l [A6 - 0x8], 1
label000036DE:
000036DE 526E FFFC addq.w [A6 - 0x4], 1
000036E2 6000 FF48 bra -0xB6 /* 0000362C */
label000036E6:
000036E6 526E FFFE addq.w [A6 - 0x2], 1
000036EA 6000 FF30 bra -0xCE /* 0000361C */
label000036EE:
000036EE 426E FFF6 clr.w [A6 - 0xA]
000036F2 302D FCF0 move.w D0, [A5 - 0x310]
000036F6 6000 002A bra +0x2C /* 00003722 */
label000036FA:
000036FA 3D7C 0001 FFF6 move.w [A6 - 0xA], 0x1
00003700 3F3C 0001 move.w -[A7], 0x1
00003704 4EBA D108 jsr [PC - 0x2EF8 /* 0000080E */]
00003708 544F addq.w A7, 2
0000370A 6000 001E bra +0x20 /* 0000372A */
label0000370E:
0000370E 3D7C 0002 FFF6 move.w [A6 - 0xA], 0x2
00003714 3F3C 0001 move.w -[A7], 0x1
00003718 4EBA D0F4 jsr [PC - 0x2F0C /* 0000080E */]
0000371C 544F addq.w A7, 2
0000371E 6000 000A bra +0xC /* 0000372A */
label00003722:
00003722 5340 subq.w D0, 1
00003724 67D4 beq -0x2A /* 000036FA */
00003726 5340 subq.w D0, 1
00003728 67E4 beq -0x1A /* 0000370E */
label0000372A:
0000372A 4A6E FFF4 tst.w [A6 - 0xC]
0000372E 6600 0008 bne +0xA /* 00003738 */
00003732 246E FFF8 movea.l A2, [A6 - 0x8]
00003736 4212 clr.b [A2]
label00003738:
00003738 246E FFF8 movea.l A2, [A6 - 0x8]
0000373C 362E FFF6 move.w D3, [A6 - 0xA]
00003740 342E FFF4 move.w D2, [A6 - 0xC]
00003744 E563 asl D3.w, D2
00003746 8712 or.b [A2], D3
00003748 3B7C 0001 FE0A move.w [A5 - 0x1F6], 0x1
0000374E 3F3C 0001 move.w -[A7], 0x1
00003752 4EBA 000C jsr [PC + 0xC /* 00003760 */]
00003756 544F addq.w A7, 2
00003758 4CDF 0000 movem.l <none>, [A7]+
0000375C 4E5E unlink A6
0000375E 4E75 rts
fn00003760:
00003760 4E56 0000 link A6, 0
00003764 48E7 0000 movem.l -[A7], <none>
00003768 06AD 0000 0015 FFF0 addi.l [A5 - 0x10], 0x15
00003770 246D FFEC movea.l A2, [A5 - 0x14]
00003774 D5FC 0000 00D6 add.l A2, 0xD6
0000377A 226D FFF0 movea.l A1, [A5 - 0x10]
0000377E B3CA cmpa.l A1, A2
00003780 6500 001E bcs +0x20 /* 000037A0 */
00003784 246D FFEC movea.l A2, [A5 - 0x14]
00003788 4A92 tst.l [A2]
0000378A 6700 0014 beq +0x16 /* 000037A0 */
0000378E 246D FFEC movea.l A2, [A5 - 0x14]
00003792 2B52 FFEC move.l [A5 - 0x14], [A2]
00003796 262D FFEC move.l D3, [A5 - 0x14]
0000379A 5883 addq.l D3, 4
0000379C 2B43 FFF0 move.l [A5 - 0x10], D3
label000037A0:
000037A0 526D FCDE addq.w [A5 - 0x322], 1
000037A4 4A6E 0008 tst.w [A6 + 0x8]
000037A8 6700 0008 beq +0xA /* 000037B2 */
000037AC 3B6D FCDE FCF2 move.w [A5 - 0x30E], [A5 - 0x322]
label000037B2:
000037B2 4EBA D0BA jsr [PC - 0x2F46 /* 0000086E */]
000037B6 4EBA D462 jsr [PC - 0x2B9E /* 00000C1A */]
000037BA 4CDF 0000 movem.l <none>, [A7]+
000037BE 4E5E unlink A6
000037C0 4E75 rts
fn000037C2:
000037C2 4E56 0000 link A6, 0
000037C6 48E7 0000 movem.l -[A7], <none>
000037CA 4EBA ECE0 jsr [PC - 0x1320 /* 000024AC */]
000037CE 486D FA28 pea.l [A5 - 0x5D8]
000037D2 A86E syscall InitGraf
000037D4 A8FE syscall InitFonts
000037D6 A912 syscall InitWindows
000037D8 A930 syscall InitMenus
000037DA A9CC syscall TEInit
000037DC 42A7 clr.l -[A7]
000037DE A97B syscall InitDialogs
000037E0 A850 syscall InitCursor
000037E2 3F3C FFEF move.w -[A7], 0xFFEF
000037E6 4EBA 0C84 jsr [PC + 0xC84 /* 0000446C */]
000037EA 544F addq.w A7, 2
000037EC 486D FFF4 pea.l [A5 - 0xC]
000037F0 A910 syscall GetWMgrPort
000037F2 2F2D FFF4 move.l -[A7], [A5 - 0xC]
000037F6 A873 syscall SetPort
000037F8 4EBA DBF8 jsr [PC - 0x2408 /* 000013F2 */]
000037FC 4A40 tst.w D0
000037FE 6700 0014 beq +0x16 /* 00003814 */
00003802 4EBA DC20 jsr [PC - 0x23E0 /* 00001424 */]
00003806 4A40 tst.w D0
00003808 6700 000A beq +0xC /* 00003814 */
label0000380C:
0000380C 4CDF 0000 movem.l <none>, [A7]+
00003810 4E5E unlink A6
00003812 4E75 rts
label00003814:
00003814 42A7 clr.l -[A7]
00003816 3F3C 0104 move.w -[A7], 0x104
0000381A 486D F856 pea.l [A5 - 0x7AA]
0000381E 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
00003824 A9BD syscall GetNewWindow
00003826 201F move.l D0, [A7]+
00003828 2B40 FCEC move.l [A5 - 0x314], D0
0000382C 2F2D FCEC move.l -[A7], [A5 - 0x314]
00003830 A873 syscall SetPort
00003832 4267 clr.w -[A7]
00003834 A887 syscall TextFont
00003836 4EBA EA96 jsr [PC - 0x156A /* 000022CE */]
0000383A 4EBA D1B6 jsr [PC - 0x2E4A /* 000009F2 */]
0000383E 4EBA D308 jsr [PC - 0x2CF8 /* 00000B48 */]
00003842 4EBA E2D0 jsr [PC - 0x1D30 /* 00001B14 */]
00003846 4EBA F570 jsr [PC - 0xA90 /* 00002DB8 */]
0000384A 4EBA E066 jsr [PC - 0x1F9A /* 000018B2 */]
0000384E 4EBA CE16 jsr [PC - 0x31EA /* 00000666 */]
00003852 4EBA CD5E jsr [PC - 0x32A2 /* 000005B2 */]
00003856 4EBA FABE jsr [PC - 0x542 /* 00003316 */]
0000385A 4EBA D32C jsr [PC - 0x2CD4 /* 00000B88 */]
0000385E 4EBA DBEC jsr [PC - 0x2414 /* 0000144C */]
00003862 4A40 tst.w D0
00003864 6600 0006 bne +0x8 /* 0000386C */
00003868 4EBA D672 jsr [PC - 0x298E /* 00000EDC */]
label0000386C:
0000386C 4EBA 0018 jsr [PC + 0x18 /* 00003886 */]
00003870 4EBA 0004 jsr [PC + 0x4 /* 00003876 */]
00003874 6096 bra -0x68 /* 0000380C */
fn00003876:
00003876 4E56 0000 link A6, 0
0000387A 48E7 0000 movem.l -[A7], <none>
0000387E 4CDF 0000 movem.l <none>, [A7]+
00003882 4E5E unlink A6
00003884 4E75 rts
fn00003886:
00003886 4E56 FFD4 link A6, -0x002C
0000388A 48E7 0000 movem.l -[A7], <none>
0000388E 4267 clr.w -[A7]
00003890 3F3C FFFF move.w -[A7], 0xFFFF
00003894 4EBA 0B36 jsr [PC + 0xB36 /* 000043CC */]
00003898 584F addq.w A7, 4
0000389A 422E FFD5 clr.b [A6 - 0x2B]
label0000389E:
0000389E 4A2E FFD5 tst.b [A6 - 0x2B]
000038A2 6600 023C bne +0x23E /* 00003AE0 */
000038A6 A9B4 syscall SystemTask
000038A8 42A7 clr.l -[A7]
000038AA A924 syscall FrontWindow
000038AC 201F move.l D0, [A7]+
000038AE B0AD FCEC cmp.l D0, [A5 - 0x314]
000038B2 6600 0012 bne +0x14 /* 000038C6 */
000038B6 486E FFDC pea.l [A6 - 0x24]
000038BA A972 syscall GetMouse
000038BC 486E FFDC pea.l [A6 - 0x24]
000038C0 4EBA CD24 jsr [PC - 0x32DC /* 000005E6 */]
000038C4 584F addq.w A7, 4
label000038C6:
000038C6 4267 clr.w -[A7]
000038C8 3F3C FFFF move.w -[A7], 0xFFFF
000038CC 486E FFEC pea.l [A6 - 0x14]
000038D0 A970 syscall GetNextEvent
000038D2 101F move.b D0, [A7]+
000038D4 4A00 tst.b D0
000038D6 6700 0204 beq +0x206 /* 00003ADC */
000038DA 302E FFEC move.w D0, [A6 - 0x14]
000038DE 6000 01EA bra +0x1EC /* 00003ACA */
000038E2 4267 clr.w -[A7]
000038E4 2F2E FFF6 move.l -[A7], [A6 - 0xA]
000038E8 486E FFE8 pea.l [A6 - 0x18]
000038EC A92C syscall FindWindow
000038EE 301F move.w D0, [A7]+
000038F0 3D40 FFE6 move.w [A6 - 0x1A], D0
000038F4 302E FFE6 move.w D0, [A6 - 0x1A]
000038F8 6000 0130 bra +0x132 /* 00003A2A */
000038FC 486E FFEC pea.l [A6 - 0x14]
00003900 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00003904 A9B3 syscall SystemClick
00003906 6000 0134 bra +0x136 /* 00003A3C */
0000390A 42A7 clr.l -[A7]
0000390C 486E FFF6 pea.l [A6 - 0xA]
00003910 A93D syscall MenuSelect
00003912 201F move.l D0, [A7]+
00003914 2F00 move.l -[A7], D0
00003916 4EBA E80A jsr [PC - 0x17F6 /* 00002122 */]
0000391A 584F addq.w A7, 4
0000391C 1D40 FFD5 move.b [A6 - 0x2B], D0
00003920 6000 011A bra +0x11C /* 00003A3C */
00003924 246E FFE8 movea.l A2, [A6 - 0x18]
00003928 B5ED FCEC cmpa.l A2, [A5 - 0x314]
0000392C 6600 00E2 bne +0xE4 /* 00003A10 */
00003930 42A7 clr.l -[A7]
00003932 A924 syscall FrontWindow
00003934 201F move.l D0, [A7]+
00003936 246E FFE8 movea.l A2, [A6 - 0x18]
0000393A B5C0 cmpa.l A2, D0
0000393C 6700 000C beq +0xE /* 0000394A */
00003940 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00003944 A91F syscall SelectWindow
00003946 6000 00C8 bra +0xCA /* 00003A10 */
label0000394A:
0000394A 486E FFF6 pea.l [A6 - 0xA]
0000394E A871 syscall GlobalToLocal
00003950 4267 clr.w -[A7]
00003952 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00003956 2F2D FCEC move.l -[A7], [A5 - 0x314]
0000395A 486E FFE2 pea.l [A6 - 0x1E]
0000395E A96C syscall FindControl
00003960 301F move.w D0, [A7]+
00003962 3D40 FFE0 move.w [A6 - 0x20], D0
00003966 4A40 tst.w D0
00003968 6700 001A beq +0x1C /* 00003984 */
0000396C 486E FFF6 pea.l [A6 - 0xA]
00003970 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00003974 2F2E FFE2 move.l -[A7], [A6 - 0x1E]
00003978 4EBA CD32 jsr [PC - 0x32CE /* 000006AC */]
0000397C DEFC 000A add.w A7, 0xA /* '\n' */
00003980 6000 008E bra +0x90 /* 00003A10 */
label00003984:
00003984 486E FFF6 pea.l [A6 - 0xA]
00003988 4EBA E61A jsr [PC - 0x19E6 /* 00001FA4 */]
0000398C 584F addq.w A7, 4
0000398E 3D40 FFDA move.w [A6 - 0x26], D0
00003992 B07C 0000 cmp.w D0, 0x0
00003996 6D00 0078 blt +0x7A /* 00003A10 */
0000399A 486E FFF6 pea.l [A6 - 0xA]
0000399E 3F2E FFDA move.w -[A7], [A6 - 0x26]
000039A2 4EBA C67C jsr [PC - 0x3984 /* 00000020 */]
000039A6 5C4F addq.w A7, 6
000039A8 362E FFDA move.w D3, [A6 - 0x26]
000039AC C6FC 001A mulu.w D3, 0x1A
000039B0 45ED FA56 lea.l A2, [A5 - 0x5AA]
000039B4 342E FFDA move.w D2, [A6 - 0x26]
000039B8 C4FC 001A mulu.w D2, 0x1A
000039BC 43ED FA4A lea.l A1, [A5 - 0x5B6]
000039C0 2071 2800 movea.l A0, [A1 + D2]
000039C4 3432 3800 move.w D2, [A2 + D3]
000039C8 D468 000A add.w D2, [A0 + 0xA]
000039CC 3D42 FFD8 move.w [A6 - 0x28], D2
000039D0 362E FFDA move.w D3, [A6 - 0x26]
000039D4 C6FC 001A mulu.w D3, 0x1A
000039D8 45ED FA54 lea.l A2, [A5 - 0x5AC]
000039DC 342E FFDA move.w D2, [A6 - 0x26]
000039E0 C4FC 001A mulu.w D2, 0x1A
000039E4 43ED FA4A lea.l A1, [A5 - 0x5B6]
000039E8 2071 2800 movea.l A0, [A1 + D2]
000039EC 3432 3800 move.w D2, [A2 + D3]
000039F0 D468 0008 add.w D2, [A0 + 0x8]
000039F4 3D42 FFD6 move.w [A6 - 0x2A], D2
000039F8 486E FFD6 pea.l [A6 - 0x2A]
000039FC 4EBA E474 jsr [PC - 0x1B8C /* 00001E72 */]
00003A00 584F addq.w A7, 4
00003A02 486E FFD6 pea.l [A6 - 0x2A]
00003A06 3F2E FFDA move.w -[A7], [A6 - 0x26]
00003A0A 4EBA EAE6 jsr [PC - 0x151A /* 000024F2 */]
00003A0E 5C4F addq.w A7, 6
label00003A10:
00003A10 6000 002A bra +0x2C /* 00003A3C */
00003A14 6000 0026 bra +0x28 /* 00003A3C */
00003A18 6000 0022 bra +0x24 /* 00003A3C */
00003A1C 0002 FED0 ori.b D2, 0xD0
00003A20 FEC2 FEEA .extension 0xEC2 <<F/2-3/7>> // unimplemented
00003A24 FEEA FFDA .extension 0xEEA <<F/2-3/7>> // unimplemented
00003A28 FFDE .invalid <<F/7/7>>
label00003A2A:
00003A2A B07C 0007 cmp.w D0, 0x7
00003A2E 6400 000C bcc +0xE /* 00003A3C */
00003A32 E340 asl D0.w, 1
00003A34 303B 00E6 move.w D0, [PC + D0.w - 0x26]
00003A38 4EFB 0000 jmp [PC + D0.w]
label00003A3C:
00003A3C 6000 009E bra +0xA0 /* 00003ADC */
00003A40 362E FFFA move.w D3, [A6 - 0x6]
00003A44 C67C 0100 and.w D3, 0x100
00003A48 6700 0022 beq +0x24 /* 00003A6C */
00003A4C 42A7 clr.l -[A7]
00003A4E 262E FFEE move.l D3, [A6 - 0x12]
00003A52 C6BC 0000 00FF and.l D3, 0xFF
00003A58 4883 ext.w D3
00003A5A 3F03 move.w -[A7], D3
00003A5C A93E syscall MenuKey
00003A5E 201F move.l D0, [A7]+
00003A60 2F00 move.l -[A7], D0
00003A62 4EBA E6BE jsr [PC - 0x1942 /* 00002122 */]
00003A66 584F addq.w A7, 4
00003A68 1D40 FFD5 move.b [A6 - 0x2B], D0
label00003A6C:
00003A6C 6000 006E bra +0x70 /* 00003ADC */
00003A70 246E FFEE movea.l A2, [A6 - 0x12]
00003A74 B5ED FCEC cmpa.l A2, [A5 - 0x314]
00003A78 6600 0006 bne +0x8 /* 00003A80 */
00003A7C 4EBA D10A jsr [PC - 0x2EF6 /* 00000B88 */]
label00003A80:
00003A80 6000 005A bra +0x5C /* 00003ADC */
00003A84 246E FFEE movea.l A2, [A6 - 0x12]
00003A88 B5ED FCEC cmpa.l A2, [A5 - 0x314]
00003A8C 6600 0026 bne +0x28 /* 00003AB4 */
00003A90 362E FFFA move.w D3, [A6 - 0x6]
00003A94 C67C 0001 and.w D3, 0x1
00003A98 6700 0010 beq +0x12 /* 00003AAA */
00003A9C 2F2D FCEC move.l -[A7], [A5 - 0x314]
00003AA0 A873 syscall SetPort
00003AA2 4EBA E8AA jsr [PC - 0x1756 /* 0000234E */]
00003AA6 6000 000C bra +0xE /* 00003AB4 */
label00003AAA:
00003AAA 2F2D FFF4 move.l -[A7], [A5 - 0xC]
00003AAE A873 syscall SetPort
00003AB0 4EBA E8C6 jsr [PC - 0x173A /* 00002378 */]
label00003AB4:
00003AB4 6000 0026 bra +0x28 /* 00003ADC */
00003AB8 0002 FE08 ori.b D2, 0x8
00003ABC 0002 FF66 ori.b D2, 0x66 /* 'f' */
00003AC0 0002 FF66 ori.b D2, 0x66 /* 'f' */
00003AC4 FF96 .invalid <<F/6/7>>
00003AC6 0002 FFAA ori.b D2, 0xAA
label00003ACA:
00003ACA B07C 0009 cmp.w D0, 0x9 /* '\t' */
00003ACE 6400 000C bcc +0xE /* 00003ADC */
00003AD2 E340 asl D0.w, 1
00003AD4 303B 00E2 move.w D0, [PC + D0.w - 0x30]
00003AD8 4EFB 0000 jmp [PC + D0.w]
label00003ADC:
00003ADC 6000 FDC0 bra -0x23E /* 0000389E */
label00003AE0:
00003AE0 4CDF 0000 movem.l <none>, [A7]+
00003AE4 4E5E unlink A6
00003AE6 4E75 rts
export_0:
00003AE8 204F movea.l A0, A7
00003AEA 91FC 0000 2000 sub.l A0, 0x2000 /* ' \0' */
00003AF0 A02D syscall SetApplLimit
00003AF2 594F subq.w A7, 4
00003AF4 A975 syscall TickCount
00003AF6 584F addq.w A7, 4
00003AF8 4E56 FFCA link A6, -0x0036
00003AFC 203C 0000 0645 move.l D0, 0x645
00003B02 6B0A bmi +0xC /* 00003B0E */
00003B04 41ED F372 lea.l A0, [A5 - 0xC8E]
label00003B08:
00003B08 4258 clr.w [A0]+
00003B0A 51C8 FFFC dbf D0, -0x6 /* 00003B08 */
label00003B0E:
00003B0E 594F subq.w A7, 4
00003B10 243C 434F 4445 move.l D2, 0x434F4445 /* 'CODE' */
00003B16 2F02 move.l -[A7], D2
00003B18 3F3C 0001 move.w -[A7], 0x1
00003B1C A9A0 syscall GetResource
00003B1E 245F movea.l A2, [A7]+
00003B20 2C12 move.l D6, [A2]
00003B22 CCBC 00FF FFFF and.l D6, 0xFFFFFF
00003B28 5886 addq.l D6, 4
00003B2A 41EE FFCA lea.l A0, [A6 - 0x36]
00003B2E 3178 0900 0018 move.w [A0 + 0x18], [0x00000900 /* CurApRefNum */]
00003B34 43EE FFFC lea.l A1, [A6 - 0x4]
00003B38 323C 0100 move.w D1, 0x100
00003B3C 6166 bsr +0x68 /* 00003BA4 */
00003B3E 670E beq +0x10 /* 00003B4E */
00003B40 2151 0024 move.l [A0 + 0x24], [A1]
00003B44 45ED F2EC lea.l A2, [A5 - 0xD14]
00003B48 214A 0020 move.l [A0 + 0x20], A2
00003B4C A002 syscall Read
label00003B4E:
00003B4E 323C 0101 move.w D1, 0x101
00003B52 6150 bsr +0x52 /* 00003BA4 */
00003B54 6724 beq +0x26 /* 00003B7A */
00003B56 244D movea.l A2, A5
00003B58 6126 bsr +0x28 /* 00003B80 */
00003B5A 2446 movea.l A2, D6
00003B5C 6122 bsr +0x24 /* 00003B80 */
00003B5E 47ED 0004 lea.l A3, [A5 + 0x4]
00003B62 D6F8 0934 add.w A3, [0x00000934 /* CurJTOffset */]
00003B66 A002 syscall Read
00003B68 2211 move.l D1, [A1]
00003B6A 6B0E bmi +0x10 /* 00003B7A */
label00003B6C:
00003B6C A002 syscall Read
00003B6E 2411 move.l D2, [A1]
00003B70 D48A add.l D2, A2
00003B72 2682 move.l [A3], D2
00003B74 508B addq.l A3, 8
00003B76 51C9 FFF4 dbf D1, -0xE /* 00003B6C */
label00003B7A:
00003B7A 4E5E unlink A6
00003B7C 4EFA C482 jmp [PC - 0x3B7E /* 00000000 */]
fn00003B80:
00003B80 A002 syscall Read
00003B82 2611 move.l D3, [A1]
00003B84 6B04 bmi +0x6 /* 00003B8A */
00003B86 280D move.l D4, A5
00003B88 610C bsr +0xE /* 00003B96 */
label00003B8A:
00003B8A A002 syscall Read
00003B8C 2611 move.l D3, [A1]
00003B8E 6B04 bmi +0x6 /* 00003B94 */
00003B90 2806 move.l D4, D6
00003B92 6102 bsr +0x4 /* 00003B96 */
label00003B94:
00003B94 4E75 rts
fn00003B96:
00003B96 A002 syscall Read
00003B98 2A11 move.l D5, [A1]
00003B9A D9B2 5800 add.l [A2 + D5], D4
00003B9E 51CB FFF6 dbf D3, -0xC /* 00003B96 */
00003BA2 4E75 rts
fn00003BA4:
00003BA4 2478 0A50 movea.l A2, [0x00000A50 /* TopMapHndl */]
00003BA8 2452 movea.l A2, [A2]
00003BAA D4EA 0018 add.w A2, [A2 + 0x18]
00003BAE 3012 move.w D0, [A2]
00003BB0 47EA 0002 lea.l A3, [A2 + 0x2]
label00003BB4:
00003BB4 B49B cmp.l D2, [A3]+
00003BB6 6706 beq +0x8 /* 00003BBE */
00003BB8 4A9B tst.l [A3]+
00003BBA 51C8 FFF8 dbf D0, -0xA /* 00003BB4 */
label00003BBE:
00003BBE 301B move.w D0, [A3]+
00003BC0 3653 movea.w A3, [A3]
00003BC2 D7CA add.l A3, A2
label00003BC4:
00003BC4 B253 cmp.w D1, [A3]
00003BC6 670C beq +0xE /* 00003BD4 */
00003BC8 D6FC 000C add.w A3, 0xC
00003BCC 51C8 FFF6 dbf D0, -0xC /* 00003BC4 */
00003BD0 4280 clr.l D0
00003BD2 4E75 rts
label00003BD4:
00003BD4 202B 0004 move.l D0, [A3 + 0x4]
00003BD8 C0BC 00FF FFFF and.l D0, 0xFFFFFF
00003BDE 2478 0A50 movea.l A2, [0x00000A50 /* TopMapHndl */]
00003BE2 2452 movea.l A2, [A2]
00003BE4 D092 add.l D0, [A2]
00003BE6 2149 0020 move.l [A0 + 0x20], A1
00003BEA 217C 0000 0004 0024 move.l [A0 + 0x24], 0x4
00003BF2 317C 0001 002C move.w [A0 + 0x2C], 0x1
00003BF8 2140 002E move.l [A0 + 0x2E], D0
00003BFC A002 syscall Read
00003BFE 4268 002C clr.w [A0 + 0x2C]
00003C02 4A91 tst.l [A1]
00003C04 4E75 rts
00003C06 486D FA28 pea.l [A5 - 0x5D8]
00003C0A A86E syscall InitGraf
00003C0C 7007 moveq.l D0, 0x07
00003C0E 01F8 .incomplete
00003C10 015D bchg [A5]+, D0
00003C12 01F8 .incomplete
00003C14 021F 4238 andi.b [A7]+, 0x38 /* '8' */
00003C18 08F2 21FC FFFF bset.b <<invalid full ext with IS == 1 and I/IS == 7>>, 0xFC
00003C1E FFFF .invalid <<F/7/7>>
00003C20 09D6 .incomplete
00003C22 594F subq.w A7, 4
00003C24 3F3C 0010 move.w -[A7], 0x10
00003C28 A9B8 syscall GetPattern
00003C2A 205F movea.l A0, [A7]+
00003C2C 2050 movea.l A0, [A0]
00003C2E 21D8 0A3C move.l [0x00000A3C /* DeskPattern */], [A0]+
00003C32 21D8 0A40 move.l [0x00000A40], [A0]+
00003C36 486D F8F2 pea.l [A5 - 0x70E]
00003C3A 21D7 09DE move.l [0x000009DE /* WMgrPort */], [A7]
00003C3E A86F syscall OpenPort
00003C40 598F subq.l A7, 4
00003C42 A8D8 syscall NewRgn
00003C44 21D7 09EE move.l [0x000009EE /* GrayRgn */], [A7]
00003C48 2078 09DE movea.l A0, [0x000009DE /* WMgrPort */]
00003C4C 4868 0010 pea.l [A0 + 0x10]
00003C50 A8DF syscall RectRgn
00003C52 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00003C56 A879 syscall SetClip
00003C58 42B8 09D6 clr.l [0x000009D6 /* WindowList */]
00003C5C 598F subq.l A7, 4
00003C5E A8D8 syscall NewRgn
00003C60 21DF 09F2 move.l [0x000009F2 /* SaveVisRgn */], [A7]+
00003C64 42B8 0A84 clr.l [0x00000A84 /* GhostWindow */]
00003C68 42B8 0A64 clr.l [0x00000A64 /* CurActivate */]
00003C6C 42B8 0A68 clr.l [0x00000A68 /* CurDeactive */]
00003C70 4E75 rts
fn00003C72:
00003C72 4E56 FFB0 link A6, -0x0050
00003C76 41EE FFB0 lea.l A0, [A6 - 0x50]
00003C7A 216E 0008 0012 move.l [A0 + 0x12], [A6 + 0x8]
00003C80 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00003C86 4268 001A clr.w [A0 + 0x1A]
00003C8A A008 syscall Create/PBHCreate/HCreate
00003C8C 4A40 tst.w D0
00003C8E 6614 bne +0x16 /* 00003CA4 */
00003C90 4268 001C clr.w [A0 + 0x1C]
00003C94 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00003C96 43E8 0020 lea.l A1, [A0 + 0x20]
00003C9A 22EE 0012 move.l [A1]+, [A6 + 0x12]
00003C9E 22AE 000E move.l [A1], [A6 + 0xE]
00003CA2 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00003CA4:
00003CA4 4E5E unlink A6
00003CA6 4E75 rts
fn00003CA8:
00003CA8 4E56 FFC0 link A6, -0x0040
00003CAC 41EE FFC0 lea.l A0, [A6 - 0x40]
00003CB0 216E 0008 0012 move.l [A0 + 0x12], [A6 + 0x8]
00003CB6 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00003CBC A013 syscall FlushVol
00003CBE 4E5E unlink A6
00003CC0 4E75 rts
fn00003CC2:
00003CC2 4E56 FFCE link A6, -0x0032
00003CC6 41EE FFCE lea.l A0, [A6 - 0x32]
00003CCA 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00003CD0 A001 syscall Close
00003CD2 4E5E unlink A6
00003CD4 4E75 rts
fn00003CD6:
00003CD6 4E56 FFCE link A6, -0x0032
00003CDA 41EE FFCE lea.l A0, [A6 - 0x32]
00003CDE 216E 0008 0012 move.l [A0 + 0x12], [A6 + 0x8]
00003CE4 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00003CEA 4268 001A clr.w [A0 + 0x1A]
00003CEE 42A8 001C clr.l [A0 + 0x1C]
00003CF2 A000 syscall Open/PBHOpen/HOpen
00003CF4 226E 000E movea.l A1, [A6 + 0xE]
00003CF8 32A8 0018 move.w [A1], [A0 + 0x18]
00003CFC 4E5E unlink A6
00003CFE 4E75 rts
fn00003D00:
00003D00 50C0 st D0
00003D02 6002 bra +0x4 /* 00003D06 */
fn00003D04:
00003D04 51C0 sf D0
label00003D06:
00003D06 4E56 FFCE link A6, -0x0032
00003D0A 41EE FFCE lea.l A0, [A6 - 0x32]
00003D0E 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00003D14 226E 000A movea.l A1, [A6 + 0xA]
00003D18 2151 0024 move.l [A0 + 0x24], [A1]
00003D1C 216E 000E 0020 move.l [A0 + 0x20], [A6 + 0xE]
00003D22 4268 002C clr.w [A0 + 0x2C]
00003D26 42A8 002E clr.l [A0 + 0x2E]
00003D2A 4A00 tst.b D0
00003D2C 6604 bne +0x6 /* 00003D32 */
00003D2E A003 syscall Write
00003D30 6002 bra +0x4 /* 00003D34 */
label00003D32:
00003D32 A002 syscall Read
label00003D34:
00003D34 226E 000A movea.l A1, [A6 + 0xA]
00003D38 22A8 0028 move.l [A1], [A0 + 0x28]
00003D3C 4E5E unlink A6
00003D3E 4E75 rts
fn00003D40:
00003D40 4E56 FFCE link A6, -0x0032
00003D44 41EE FFCE lea.l A0, [A6 - 0x32]
00003D48 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00003D4E A011 syscall GetEOF
00003D50 226E 000A movea.l A1, [A6 + 0xA]
00003D54 22A8 001C move.l [A1], [A0 + 0x1C]
00003D58 4E5E unlink A6
00003D5A 4E75 rts
fn00003D5C:
00003D5C 4E56 FFB0 link A6, -0x0050
00003D60 41EE FFB0 lea.l A0, [A6 - 0x50]
00003D64 216E 0008 0012 move.l [A0 + 0x12], [A6 + 0x8]
00003D6A 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00003D70 42A8 001A clr.l [A0 + 0x1A]
00003D74 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00003D76 3400 move.w D2, D0
00003D78 41E8 0020 lea.l A0, [A0 + 0x20]
00003D7C 226E 000E movea.l A1, [A6 + 0xE]
00003D80 303C 0010 move.w D0, 0x10
00003D84 A02E syscall BlockMove/BlockMoveData
00003D86 3002 move.w D0, D2
00003D88 4E5E unlink A6
00003D8A 4E75 rts
fn00003D8C:
00003D8C 4E56 FFCE link A6, -0x0032
00003D90 41EE FFCE lea.l A0, [A6 - 0x32]
00003D94 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00003D9A A018 syscall GetFPos
00003D9C 226E 000A movea.l A1, [A6 + 0xA]
00003DA0 22A8 002E move.l [A1], [A0 + 0x2E]
00003DA4 4E5E unlink A6
00003DA6 4E75 rts
fn00003DA8:
00003DA8 4E56 FFCE link A6, -0x0032
00003DAC 41EE FFCE lea.l A0, [A6 - 0x32]
00003DB0 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00003DB6 216E 000A 001C move.l [A0 + 0x1C], [A6 + 0xA]
00003DBC A012 syscall SetEOF
00003DBE 4E5E unlink A6
00003DC0 4E75 rts
fn00003DC2:
00003DC2 4E56 FFC0 link A6, -0x0040
00003DC6 41EE FFC0 lea.l A0, [A6 - 0x40]
00003DCA 216E 0008 0012 move.l [A0 + 0x12], [A6 + 0x8]
00003DD0 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00003DD6 A015 syscall SetVol/PBHSetVol/HSetVol
00003DD8 4E5E unlink A6
00003DDA 4E75 rts
fn00003DDC:
00003DDC 2078 0130 movea.l A0, [0x00000130 /* ApplLimit */]
00003DE0 43F8 0114 lea.l A1, [0x00000114 /* HeapEnd */]
00003DE4 2008 move.l D0, A0
00003DE6 9091 sub.l D0, [A1]
00003DE8 740C moveq.l D2, 0x0C
00003DEA B082 cmp.l D0, D2
00003DEC 6516 bcs +0x18 /* 00003E04 */
00003DEE 2251 movea.l A1, [A1]
00003DF0 21C8 0114 move.l [0x00000114 /* HeapEnd */], A0
00003DF4 2280 move.l [A1], D0
00003DF6 4211 clr.b [A1]
00003DF8 2278 02AA movea.l A1, [0x000002AA /* ApplZone */]
00003DFC 2288 move.l [A1], A0
00003DFE 2082 move.l [A0], D2
00003E00 D1A9 000C add.l [A1 + 0xC], D0
label00003E04:
00003E04 4E75 rts
fn00003E06:
00003E06 A036 syscall MoreMasters
00003E08 4EFA 022A jmp [PC + 0x22A /* 00004034 */]
fn00003E0C:
00003E0C 206F 0004 movea.l A0, [A7 + 0x4]
00003E10 A02D syscall SetApplLimit
00003E12 4EFA 0220 jmp [PC + 0x220 /* 00004034 */]
fn00003E16:
00003E16 206F 0004 movea.l A0, [A7 + 0x4]
00003E1A 20B8 020C move.l [A0], [0x0000020C /* Time */]
00003E1E 4E75 rts
fn00003E20:
00003E20 206F 0004 movea.l A0, [A7 + 0x4]
00003E24 202F 0008 move.l D0, [A7 + 0x8]
00003E28 4267 clr.w -[A7]
00003E2A A9EE syscall Pack7/DecStr68K
00003E2C 205F movea.l A0, [A7]+
00003E2E 504F addq.w A7, 8
00003E30 4ED0 jmp [A0]
fn00003E32:
00003E32 7001 moveq.l D0, 0x01
00003E34 4EFA 0004 jmp [PC + 0x4 /* 00003E3A */]
fn00003E38:
00003E38 7002 moveq.l D0, 0x02
label00003E3A:
00003E3A 205F movea.l A0, [A7]+
00003E3C 3F00 move.w -[A7], D0
00003E3E 2F08 move.l -[A7], A0
00003E40 ADEA syscall Pack3, auto_pop
fn00003E42:
00003E42 2F04 move.l -[A7], D4
00003E44 4284 clr.l D4
00003E46 4A80 tst.l D0
00003E48 6A04 bpl +0x6 /* 00003E4E */
00003E4A 4480 neg.l D0
00003E4C 5244 addq.w D4, 1
label00003E4E:
00003E4E 4A81 tst.l D1
00003E50 6A06 bpl +0x8 /* 00003E58 */
00003E52 4481 neg.l D1
00003E54 0A44 0001 xori.w D4, 0x1
label00003E58:
00003E58 612E bsr +0x30 /* 00003E88 */
label00003E5A:
00003E5A 4A44 tst.w D4
00003E5C 6702 beq +0x4 /* 00003E60 */
00003E5E 4480 neg.l D0
label00003E60:
00003E60 281F move.l D4, [A7]+
00003E62 4E75 rts
00003E64 2F04 move.l -[A7], D4
00003E66 4284 clr.l D4
00003E68 4A80 tst.l D0
00003E6A 6A04 bpl +0x6 /* 00003E70 */
00003E6C 4480 neg.l D0
00003E6E 5244 addq.w D4, 1
label00003E70:
00003E70 4A81 tst.l D1
00003E72 6A06 bpl +0x8 /* 00003E7A */
00003E74 4481 neg.l D1
00003E76 0A44 0001 xori.w D4, 0x1
label00003E7A:
00003E7A 610C bsr +0xE /* 00003E88 */
00003E7C 2001 move.l D0, D1
00003E7E 4EFA FFDA jmp [PC - 0x26 /* 00003E5A */]
00003E82 6104 bsr +0x6 /* 00003E88 */
00003E84 2001 move.l D0, D1
00003E86 4E75 rts
fn00003E88:
00003E88 48E7 3000 movem.l -[A7], D2,D3
00003E8C 4841 swap.w D1
00003E8E 4A41 tst.w D1
00003E90 6628 bne +0x2A /* 00003EBA */
00003E92 4841 swap.w D1
00003E94 4243 clr.w D3
00003E96 80C1 divu.w D0, D1
00003E98 680E bvc +0x10 /* 00003EA8 */
00003E9A 3400 move.w D2, D0
00003E9C 4240 clr.w D0
00003E9E 4840 swap.w D0
00003EA0 80C1 divu.w D0, D1
00003EA2 3600 move.w D3, D0
00003EA4 3002 move.w D0, D2
00003EA6 80C1 divu.w D0, D1
label00003EA8:
00003EA8 2200 move.l D1, D0
00003EAA 4840 swap.w D0
00003EAC 3003 move.w D0, D3
00003EAE 4840 swap.w D0
00003EB0 4241 clr.w D1
00003EB2 4841 swap.w D1
00003EB4 4CDF 000C movem.l D2,D3, [A7]+
00003EB8 4E75 rts
label00003EBA:
00003EBA 4841 swap.w D1
00003EBC 4282 clr.l D2
00003EBE 761F moveq.l D3, 0x1F
label00003EC0:
00003EC0 E380 asl D0, 1
00003EC2 E392 roxl D2, 1
00003EC4 9481 sub.l D2, D1
00003EC6 6B10 bmi +0x12 /* 00003ED8 */
label00003EC8:
00003EC8 5280 addq.l D0, 1
00003ECA 51CB FFF4 dbf D3, -0xE /* 00003EC0 */
00003ECE 600E bra +0x10 /* 00003EDE */
label00003ED0:
00003ED0 E380 asl D0, 1
00003ED2 E392 roxl D2, 1
00003ED4 D481 add.l D2, D1
00003ED6 6AF0 bpl -0xE /* 00003EC8 */
label00003ED8:
00003ED8 51CB FFF6 dbf D3, -0xC /* 00003ED0 */
00003EDC D481 add.l D2, D1
label00003EDE:
00003EDE 2202 move.l D1, D2
00003EE0 4CDF 000C movem.l D2,D3, [A7]+
00003EE4 4E75 rts
fn00003EE6:
00003EE6 48E7 3000 movem.l -[A7], D2,D3
00003EEA 3401 move.w D2, D1
00003EEC C4C0 mulu.w D2, D0
00003EEE 2601 move.l D3, D1
00003EF0 4843 swap.w D3
00003EF2 C6C0 mulu.w D3, D0
00003EF4 4843 swap.w D3
00003EF6 4243 clr.w D3
00003EF8 D483 add.l D2, D3
00003EFA 4840 swap.w D0
00003EFC C0C1 mulu.w D0, D1
00003EFE 4840 swap.w D0
00003F00 4240 clr.w D0
00003F02 D082 add.l D0, D2
00003F04 4CDF 000C movem.l D2,D3, [A7]+
00003F08 4E75 rts
00003F0A 4E56 0000 link A6, 0
00003F0E 42AD FA2C clr.l [A5 - 0x5D4]
00003F12 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003F16 4EBA 00FE jsr [PC + 0xFE /* 00004016 */]
00003F1A 584F addq.w A7, 4
00003F1C 4E5E unlink A6
00003F1E 4E75 rts
fn00003F20:
00003F20 4E56 0000 link A6, 0
00003F24 42AD FA2C clr.l [A5 - 0x5D4]
00003F28 362E 0008 move.w D3, [A6 + 0x8]
00003F2C 4843 swap.w D3
00003F2E 4243 clr.w D3
00003F30 4843 swap.w D3
00003F32 2F03 move.l -[A7], D3
00003F34 4EBA 00E0 jsr [PC + 0xE0 /* 00004016 */]
00003F38 584F addq.w A7, 4
00003F3A 4E5E unlink A6
00003F3C 4E75 rts
fn00003F3E:
00003F3E 4E56 0000 link A6, 0
00003F42 2B6E 0008 FA2C move.l [A5 - 0x5D4], [A6 + 0x8]
00003F48 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003F4C 4EBA 00B0 jsr [PC + 0xB0 /* 00003FFE */]
00003F50 584F addq.w A7, 4
00003F52 3B40 FA30 move.w [A5 - 0x5D0], D0
00003F56 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003F5A 4EBA 0098 jsr [PC + 0x98 /* 00003FF4 */]
00003F5E 584F addq.w A7, 4
00003F60 4EBA 00AE jsr [PC + 0xAE /* 00004010 */]
00003F64 4E5E unlink A6
00003F66 4E75 rts
00003F68 4E56 0000 link A6, 0
00003F6C 48E7 0010 movem.l -[A7], A3
00003F70 246D FA2C movea.l A2, [A5 - 0x5D4]
00003F74 B5EE 0008 cmpa.l A2, [A6 + 0x8]
00003F78 6708 beq +0xA /* 00003F82 */
00003F7A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003F7E 61BE bsr -0x40 /* 00003F3E */
00003F80 584F addq.w A7, 4
label00003F82:
00003F82 3F2E 000C move.w -[A7], [A6 + 0xC]
00003F86 6198 bsr -0x66 /* 00003F20 */
00003F88 544F addq.w A7, 2
00003F8A 2640 movea.l A3, D0
00003F8C 4A80 tst.l D0
00003F8E 672A beq +0x2C /* 00003FBA */
00003F90 B7EE 0008 cmpa.l A3, [A6 + 0x8]
00003F94 6724 beq +0x26 /* 00003FBA */
00003F96 362E 000C move.w D3, [A6 + 0xC]
00003F9A B66D FA30 cmp.w D3, [A5 - 0x5D0]
00003F9E 6306 bls +0x8 /* 00003FA6 */
00003FA0 362D FA30 move.w D3, [A5 - 0x5D0]
00003FA4 6004 bra +0x6 /* 00003FAA */
label00003FA6:
00003FA6 362E 000C move.w D3, [A6 + 0xC]
label00003FAA:
00003FAA 3F03 move.w -[A7], D3
00003FAC 2F0B move.l -[A7], A3
00003FAE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003FB2 4EBA 0010 jsr [PC + 0x10 /* 00003FC4 */]
00003FB6 DEFC 000A add.w A7, 0xA /* '\n' */
label00003FBA:
00003FBA 200B move.l D0, A3
00003FBC 4CDF 0800 movem.l A3, [A7]+
00003FC0 4E5E unlink A6
00003FC2 4E75 rts
fn00003FC4:
00003FC4 206F 0004 movea.l A0, [A7 + 0x4]
00003FC8 226F 0008 movea.l A1, [A7 + 0x8]
00003FCC 302F 000C move.w D0, [A7 + 0xC]
00003FD0 B3C8 cmpa.l A1, A0
00003FD2 6602 bne +0x4 /* 00003FD6 */
00003FD4 4E75 rts
label00003FD6:
00003FD6 6310 bls +0x12 /* 00003FE8 */
00003FD8 D0C0 add.w A0, D0
00003FDA D2C0 add.w A1, D0
00003FDC 5340 subq.w D0, 1
00003FDE 6B06 bmi +0x8 /* 00003FE6 */
label00003FE0:
00003FE0 1320 move.b -[A1], -[A0]
00003FE2 51C8 FFFC dbf D0, -0x6 /* 00003FE0 */
label00003FE6:
00003FE6 4E75 rts
label00003FE8:
00003FE8 5340 subq.w D0, 1
00003FEA 6BFA bmi -0x4 /* 00003FE6 */
label00003FEC:
00003FEC 12D8 move.b [A1]+, [A0]+
00003FEE 51C8 FFFC dbf D0, -0x6 /* 00003FEC */
00003FF2 4E75 rts
fn00003FF4:
00003FF4 206F 0004 movea.l A0, [A7 + 0x4]
00003FF8 A01F syscall DisposPtr/DisposePtr
00003FFA 4EFA 0038 jmp [PC + 0x38 /* 00004034 */]
fn00003FFE:
00003FFE 206F 0004 movea.l A0, [A7 + 0x4]
00004002 A021 syscall GetPtrSize
00004004 4A80 tst.l D0
00004006 6A04 bpl +0x6 /* 0000400C */
00004008 4EFA 0016 jmp [PC + 0x16 /* 00004020 */]
label0000400C:
0000400C 4EFA 002E jmp [PC + 0x2E /* 0000403C */]
fn00004010:
00004010 302D FFF8 move.w D0, [A5 - 0x8]
00004014 4E75 rts
fn00004016:
00004016 202F 0004 move.l D0, [A7 + 0x4]
0000401A A11E syscall NewPtr, flags=1
0000401C 4EFA 000C jmp [PC + 0xC /* 0000402A */]
label00004020:
00004020 43ED FFF8 lea.l A1, [A5 - 0x8]
00004024 3280 move.w [A1], D0
00004026 4240 clr.w D0
00004028 4E75 rts
label0000402A:
0000402A 43ED FFF8 lea.l A1, [A5 - 0x8]
0000402E 3280 move.w [A1], D0
00004030 2008 move.l D0, A0
00004032 4E75 rts
label00004034:
00004034 43ED FFF8 lea.l A1, [A5 - 0x8]
00004038 3280 move.w [A1], D0
0000403A 4E75 rts
label0000403C:
0000403C 43ED FFF8 lea.l A1, [A5 - 0x8]
00004040 4251 clr.w [A1]
00004042 4E75 rts
fn00004044:
00004044 4E56 0000 link A6, 0
00004048 48E7 0800 movem.l -[A7], D4
0000404C 4AAD F36E tst.l [A5 - 0xC92]
00004050 6706 beq +0x8 /* 00004058 */
00004052 246D F36E movea.l A2, [A5 - 0xC92]
00004056 4E92 jsr [A2]
label00004058:
00004058 7800 moveq.l D4, 0x00
label0000405A:
0000405A B87C 000A cmp.w D4, 0xA /* '\n' */
0000405E 6C0C bge +0xE /* 0000406C */
00004060 3F04 move.w -[A7], D4
00004062 4EBA 002C jsr [PC + 0x2C /* 00004090 */]
00004066 544F addq.w A7, 2
00004068 5244 addq.w D4, 1
0000406A 60EE bra -0x10 /* 0000405A */
label0000406C:
0000406C 3F2E 0008 move.w -[A7], [A6 + 0x8]
00004070 4EBA 02DA jsr [PC + 0x2DA /* 0000434C */]
00004074 544F addq.w A7, 2
00004076 4CDF 0010 movem.l D4, [A7]+
0000407A 4E5E unlink A6
0000407C 4E75 rts
fn0000407E:
0000407E 206F 0004 movea.l A0, [A7 + 0x4]
00004082 2008 move.l D0, A0
label00004084:
00004084 4A18 tst.b [A0]+
00004086 66FC bne -0x2 /* 00004084 */
00004088 91C0 sub.l A0, D0
0000408A 2008 move.l D0, A0
0000408C 5380 subq.l D0, 1
0000408E 4E75 rts
fn00004090:
00004090 4E56 FFB0 link A6, -0x0050
00004094 48E7 0E10 movem.l -[A7], D4,D5,D6,A3
00004098 382E 0008 move.w D4, [A6 + 0x8]
0000409C 266D FA36 movea.l A3, [A5 - 0x5CA]
000040A0 B87C 0000 cmp.w D4, 0x0
000040A4 6D06 blt +0x8 /* 000040AC */
000040A6 B87C 0009 cmp.w D4, 0x9 /* '\t' */
000040AA 6F10 ble +0x12 /* 000040BC */
label000040AC:
000040AC 3B7C FFFD FFFA move.w [A5 - 0x6], 0xFFFD
000040B2 70FF moveq.l D0, 0xFFFFFFFF
label000040B4:
000040B4 4CDF 0870 movem.l D4,D5,D6,A3, [A7]+
000040B8 4E5E unlink A6
000040BA 4E75 rts
label000040BC:
000040BC 48C4 ext.l D4
000040BE 2604 move.l D3, D4
000040C0 E383 asl D3, 1
000040C2 3A33 3800 move.w D5, [A3 + D3]
000040C6 4A45 tst.w D5
000040C8 672E beq +0x30 /* 000040F8 */
000040CA BA6D FFFC cmp.w D5, [A5 - 0x4]
000040CE 6728 beq +0x2A /* 000040F8 */
000040D0 BA7C FFF7 cmp.w D5, 0xFFF7
000040D4 6D06 blt +0x8 /* 000040DC */
000040D6 BA7C FFFA cmp.w D5, 0xFFFA
000040DA 6F1C ble +0x1E /* 000040F8 */
label000040DC:
000040DC 48C4 ext.l D4
000040DE 2604 move.l D3, D4
000040E0 E383 asl D3, 1
000040E2 3D73 3800 FFC8 move.w [A6 - 0x38], [A3 + D3]
000040E8 4267 clr.w -[A7]
000040EA 486E FFB0 pea.l [A6 - 0x50]
000040EE 4267 clr.w -[A7]
000040F0 4EBA 0020 jsr [PC + 0x20 /* 00004112 */]
000040F4 301F move.w D0, [A7]+
000040F6 3C00 move.w D6, D0
label000040F8:
000040F8 48C4 ext.l D4
000040FA 2604 move.l D3, D4
000040FC E383 asl D3, 1
000040FE 4273 3800 clr.w [A3 + D3]
00004102 4A46 tst.w D6
00004104 6708 beq +0xA /* 0000410E */
00004106 3B46 FFFA move.w [A5 - 0x6], D6
0000410A 70FF moveq.l D0, 0xFFFFFFFF
0000410C 60A6 bra -0x58 /* 000040B4 */
label0000410E:
0000410E 7000 moveq.l D0, 0x00
00004110 60A2 bra -0x5C /* 000040B4 */
fn00004112:
00004112 225F movea.l A1, [A7]+
00004114 301F move.w D0, [A7]+
00004116 205F movea.l A0, [A7]+
00004118 6604 bne +0x6 /* 0000411E */
0000411A A001 syscall Close
0000411C 6002 bra +0x4 /* 00004120 */
label0000411E:
0000411E A401 syscall Close, flags=4
label00004120:
00004120 3E80 move.w [A7], D0
00004122 4ED1 jmp [A1]
00004124 4E56 FF70 link A6, -0x0090
00004128 48E7 0810 movem.l -[A7], D4,A3
0000412C 246E 000C movea.l A2, [A6 + 0xC]
00004130 4212 clr.b [A2]
00004132 3F3C 003A move.w -[A7], 0x3A /* ':' */
00004136 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000413A 4EBA 017C jsr [PC + 0x17C /* 000042B8 */]
0000413E 5C4F addq.w A7, 6
00004140 2640 movea.l A3, D0
00004142 4A80 tst.l D0
00004144 6620 bne +0x22 /* 00004166 */
00004146 45EE FFC0 lea.l A2, [A6 - 0x40]
0000414A 2D4A FF82 move.l [A6 - 0x7E], A2
0000414E 4267 clr.w -[A7]
00004150 486E FF70 pea.l [A6 - 0x90]
00004154 4267 clr.w -[A7]
00004156 4EBA 014E jsr [PC + 0x14E /* 000042A6 */]
0000415A 301F move.w D0, [A7]+
0000415C 382E FF86 move.w D4, [A6 - 0x7A]
00004160 266E 0008 movea.l A3, [A6 + 0x8]
00004164 6022 bra +0x24 /* 00004188 */
label00004166:
00004166 4213 clr.b [A3]
00004168 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000416C 612A bsr +0x2C /* 00004198 */
0000416E 584F addq.w A7, 4
00004170 3800 move.w D4, D0
00004172 244B movea.l A2, A3
00004174 528B addq.l A3, 1
00004176 14BC 003A move.b [A2], 0x3A /* ':' */
0000417A 4A44 tst.w D4
0000417C 660A bne +0xC /* 00004188 */
0000417E 7000 moveq.l D0, 0x00
label00004180:
00004180 4CDF 0810 movem.l D4,A3, [A7]+
00004184 4E5E unlink A6
00004186 4E75 rts
label00004188:
00004188 2F0B move.l -[A7], A3
0000418A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000418E 4EBA 0166 jsr [PC + 0x166 /* 000042F6 */]
00004192 504F addq.w A7, 8
00004194 3004 move.w D0, D4
00004196 60E8 bra -0x16 /* 00004180 */
fn00004198:
00004198 4E56 FF70 link A6, -0x0090
0000419C 48E7 0C10 movem.l -[A7], D4,D5,A3
000041A0 266E 0008 movea.l A3, [A6 + 0x8]
000041A4 162B 0001 move.b D3, [A3 + 0x1]
000041A8 4883 ext.w D3
000041AA 4A43 tst.w D3
000041AC 6658 bne +0x5A /* 00004206 */
000041AE 1613 move.b D3, [A3]
000041B0 4883 ext.w D3
000041B2 B67C 0031 cmp.w D3, 0x31 /* '1' */
000041B6 6D4E blt +0x50 /* 00004206 */
000041B8 1613 move.b D3, [A3]
000041BA 4883 ext.w D3
000041BC B67C 0039 cmp.w D3, 0x39 /* '9' */
000041C0 6E44 bgt +0x46 /* 00004206 */
000041C2 1613 move.b D3, [A3]
000041C4 4883 ext.w D3
000041C6 967C 0030 sub.w D3, 0x30 /* '0' */
000041CA 3D43 FFC6 move.w [A6 - 0x3A], D3
000041CE 45EE FF70 lea.l A2, [A6 - 0x90]
000041D2 2D4A FFC2 move.l [A6 - 0x3E], A2
000041D6 422E FF70 clr.b [A6 - 0x90]
000041DA 426E FFCC clr.w [A6 - 0x34]
000041DE 4267 clr.w -[A7]
000041E0 486E FFB0 pea.l [A6 - 0x50]
000041E4 4267 clr.w -[A7]
000041E6 4EBA 0152 jsr [PC + 0x152 /* 0000433A */]
000041EA 301F move.w D0, [A7]+
000041EC 3A00 move.w D5, D0
000041EE 4A40 tst.w D0
000041F0 670E beq +0x10 /* 00004200 */
000041F2 3B45 FFFA move.w [A5 - 0x6], D5
000041F6 7000 moveq.l D0, 0x00
label000041F8:
000041F8 4CDF 0830 movem.l D4,D5,A3, [A7]+
000041FC 4E5E unlink A6
000041FE 4E75 rts
label00004200:
00004200 302E FFC6 move.w D0, [A6 - 0x3A]
00004204 60F2 bra -0xC /* 000041F8 */
label00004206:
00004206 7801 moveq.l D4, 0x01
label00004208:
00004208 3D44 FFCC move.w [A6 - 0x34], D4
0000420C 45EE FF70 lea.l A2, [A6 - 0x90]
00004210 2D4A FFC2 move.l [A6 - 0x3E], A2
00004214 422E FF70 clr.b [A6 - 0x90]
00004218 4267 clr.w -[A7]
0000421A 486E FFB0 pea.l [A6 - 0x50]
0000421E 4267 clr.w -[A7]
00004220 4EBA 0118 jsr [PC + 0x118 /* 0000433A */]
00004224 301F move.w D0, [A7]+
00004226 4A40 tst.w D0
00004228 6620 bne +0x22 /* 0000424A */
0000422A 2F0B move.l -[A7], A3
0000422C 486E FF70 pea.l [A6 - 0x90]
00004230 4EBA 021C jsr [PC + 0x21C /* 0000444E */]
00004234 584F addq.w A7, 4
00004236 2F00 move.l -[A7], D0
00004238 611A bsr +0x1C /* 00004254 */
0000423A 504F addq.w A7, 8
0000423C 4A40 tst.w D0
0000423E 6606 bne +0x8 /* 00004246 */
00004240 302E FFC6 move.w D0, [A6 - 0x3A]
00004244 60B2 bra -0x4C /* 000041F8 */
label00004246:
00004246 5244 addq.w D4, 1
00004248 60BE bra -0x40 /* 00004208 */
label0000424A:
0000424A 3B7C FFDD FFFA move.w [A5 - 0x6], 0xFFDD
00004250 7000 moveq.l D0, 0x00
00004252 60A4 bra -0x5A /* 000041F8 */
fn00004254:
00004254 4E56 0000 link A6, 0
00004258 48E7 0818 movem.l -[A7], D4,A3,A4
0000425C 266E 0008 movea.l A3, [A6 + 0x8]
00004260 286E 000C movea.l A4, [A6 + 0xC]
label00004264:
00004264 1613 move.b D3, [A3]
00004266 4883 ext.w D3
00004268 3F03 move.w -[A7], D3
0000426A 4EBA 00B4 jsr [PC + 0xB4 /* 00004320 */]
0000426E 544F addq.w A7, 2
00004270 3F00 move.w -[A7], D0
00004272 1614 move.b D3, [A4]
00004274 4883 ext.w D3
00004276 3F03 move.w -[A7], D3
00004278 4EBA 00A6 jsr [PC + 0xA6 /* 00004320 */]
0000427C 544F addq.w A7, 2
0000427E 361F move.w D3, [A7]+
00004280 3803 move.w D4, D3
00004282 9840 sub.w D4, D0
00004284 4A44 tst.w D4
00004286 670A beq +0xC /* 00004292 */
00004288 3004 move.w D0, D4
label0000428A:
0000428A 4CDF 1810 movem.l D4,A3,A4, [A7]+
0000428E 4E5E unlink A6
00004290 4E75 rts
label00004292:
00004292 244B movea.l A2, A3
00004294 528B addq.l A3, 1
00004296 4A12 tst.b [A2]
00004298 6708 beq +0xA /* 000042A2 */
0000429A 244C movea.l A2, A4
0000429C 528C addq.l A4, 1
0000429E 4A12 tst.b [A2]
000042A0 66C2 bne -0x3C /* 00004264 */
label000042A2:
000042A2 7000 moveq.l D0, 0x00
000042A4 60E4 bra -0x1A /* 0000428A */
fn000042A6:
000042A6 225F movea.l A1, [A7]+
000042A8 301F move.w D0, [A7]+
000042AA 205F movea.l A0, [A7]+
000042AC 6604 bne +0x6 /* 000042B2 */
000042AE A014 syscall GetVol/PBHGetVol/HGetVol
000042B0 6002 bra +0x4 /* 000042B4 */
label000042B2:
000042B2 A414 syscall GetVol/PBHGetVol/HGetVol, flags=4
label000042B4:
000042B4 3E80 move.w [A7], D0
000042B6 4ED1 jmp [A1]
fn000042B8:
000042B8 206F 0004 movea.l A0, [A7 + 0x4]
000042BC 302F 0008 move.w D0, [A7 + 0x8]
label000042C0:
000042C0 1218 move.b D1, [A0]+
000042C2 670A beq +0xC /* 000042CE */
000042C4 B200 cmp.b D1, D0
000042C6 66F8 bne -0x6 /* 000042C0 */
000042C8 2008 move.l D0, A0
000042CA 5380 subq.l D0, 1
000042CC 4E75 rts
label000042CE:
000042CE 4280 clr.l D0
000042D0 4E75 rts
fn000042D2:
000042D2 303C 7FFF move.w D0, 0x7FFF
000042D6 6004 bra +0x6 /* 000042DC */
000042D8 302F 000C move.w D0, [A7 + 0xC]
label000042DC:
000042DC 206F 0004 movea.l A0, [A7 + 0x4]
label000042E0:
000042E0 4A18 tst.b [A0]+
000042E2 66FC bne -0x2 /* 000042E0 */
000042E4 5388 subq.l A0, 1
000042E6 226F 0008 movea.l A1, [A7 + 0x8]
label000042EA:
000042EA 10D9 move.b [A0]+, [A1]+
000042EC 57C8 FFFC dbeq D0, -0x6 /* 000042EA */
000042F0 202F 0004 move.l D0, [A7 + 0x4]
000042F4 4E75 rts
fn000042F6:
000042F6 206F 0004 movea.l A0, [A7 + 0x4]
000042FA 2008 move.l D0, A0
000042FC 226F 0008 movea.l A1, [A7 + 0x8]
label00004300:
00004300 10D9 move.b [A0]+, [A1]+
00004302 66FC bne -0x2 /* 00004300 */
00004304 4E75 rts
00004306 302F 0004 move.w D0, [A7 + 0x4]
0000430A C07C 00FF and.w D0, 0xFF
0000430E B03C 0060 cmp.b D0, 0x60 /* '`' */
00004312 630A bls +0xC /* 0000431E */
00004314 B03C 007A cmp.b D0, 0x7A /* 'z' */
00004318 6204 bhi +0x6 /* 0000431E */
0000431A 903C 0020 sub.b D0, 0x20 /* ' ' */
label0000431E:
0000431E 4E75 rts
fn00004320:
00004320 302F 0004 move.w D0, [A7 + 0x4]
00004324 C07C 00FF and.w D0, 0xFF
00004328 B03C 0040 cmp.b D0, 0x40 /* '@' */
0000432C 630A bls +0xC /* 00004338 */
0000432E B03C 005A cmp.b D0, 0x5A /* 'Z' */
00004332 6204 bhi +0x6 /* 00004338 */
00004334 D03C 0020 add.b D0, 0x20 /* ' ' */
label00004338:
00004338 4E75 rts
fn0000433A:
0000433A 225F movea.l A1, [A7]+
0000433C 301F move.w D0, [A7]+
0000433E 205F movea.l A0, [A7]+
00004340 6604 bne +0x6 /* 00004346 */
00004342 A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
00004344 6002 bra +0x4 /* 00004348 */
label00004346:
00004346 A407 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
label00004348:
00004348 3E80 move.w [A7], D0
0000434A 4ED1 jmp [A1]
fn0000434C:
0000434C 4A2D FFFE tst.b [A5 - 0x2]
00004350 670A beq +0xC /* 0000435C */
00004352 2078 0A7C movea.l A0, [0x00000A7C]
00004356 316F 0004 0018 move.w [A0 + 0x18], [A7 + 0x4]
label0000435C:
0000435C A9F4 syscall ExitToShell
fn0000435E:
0000435E 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00004362 A025 syscall GetHandleSize
00004364 6F28 ble +0x2A /* 0000438E */
00004366 2050 movea.l A0, [A0]
00004368 5448 addq.w A0, 2
0000436A 322F 0004 move.w D1, [A7 + 0x4]
0000436E B258 cmp.w D1, [A0]+
00004370 6E1C bgt +0x1E /* 0000438E */
00004372 5341 subq.w D1, 1
label00004374:
00004374 6D18 blt +0x1A /* 0000438E */
00004376 6712 beq +0x14 /* 0000438A */
00004378 7002 moveq.l D0, 0x02
0000437A D028 0008 add.b D0, [A0 + 0x8]
0000437E C07C FFFE and.w D0, 0xFFFE
00004382 5040 addq.w D0, 8
00004384 D0C0 add.w A0, D0
00004386 5341 subq.w D1, 1
00004388 60EA bra -0x14 /* 00004374 */
label0000438A:
0000438A 42A8 0002 clr.l [A0 + 0x2]
label0000438E:
0000438E 4E75 rts
fn00004390:
00004390 226F 0008 movea.l A1, [A7 + 0x8]
00004394 4251 clr.w [A1]
00004396 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
0000439A A025 syscall GetHandleSize
0000439C 6F0E ble +0x10 /* 000043AC */
0000439E 2050 movea.l A0, [A0]
000043A0 226F 0004 movea.l A1, [A7 + 0x4]
000043A4 3298 move.w [A1], [A0]+
000043A6 226F 0008 movea.l A1, [A7 + 0x8]
000043AA 3290 move.w [A1], [A0]
label000043AC:
000043AC 4E75 rts
fn000043AE:
000043AE 206F 0004 movea.l A0, [A7 + 0x4]
000043B2 2248 movea.l A1, A0
000043B4 103C 0000 move.b D0, 0x0
label000043B8:
000043B8 1210 move.b D1, [A0]
000043BA 10C0 move.b [A0]+, D0
000043BC 1001 move.b D0, D1
000043BE 66F8 bne -0x6 /* 000043B8 */
000043C0 5348 subq.w A0, 1
000043C2 91C9 sub.l A0, A1
000043C4 2008 move.l D0, A0
000043C6 1280 move.b [A1], D0
000043C8 2009 move.l D0, A1
000043CA 4E75 rts
fn000043CC:
000043CC 202F 0004 move.l D0, [A7 + 0x4]
000043D0 A032 syscall FlushEvents
000043D2 4E75 rts
fn000043D4:
000043D4 2F0B move.l -[A7], A3
000043D6 226F 000A movea.l A1, [A7 + 0xA]
000043DA 42A9 0002 clr.l [A1 + 0x2]
000043DE 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000043E2 A025 syscall GetHandleSize
000043E4 6F26 ble +0x28 /* 0000440C */
000043E6 2450 movea.l A2, [A0]
000043E8 544A addq.w A2, 2
000043EA 322F 0008 move.w D1, [A7 + 0x8]
000043EE B25A cmp.w D1, [A2]+
000043F0 6E1A bgt +0x1C /* 0000440C */
000043F2 5341 subq.w D1, 1
label000043F4:
000043F4 6D16 blt +0x18 /* 0000440C */
000043F6 204A movea.l A0, A2
000043F8 7002 moveq.l D0, 0x02
000043FA D028 0008 add.b D0, [A0 + 0x8]
000043FE C07C FFFE and.w D0, 0xFFFE
00004402 5040 addq.w D0, 8
00004404 D4C0 add.w A2, D0
00004406 A02E syscall BlockMove/BlockMoveData
00004408 5341 subq.w D1, 1
0000440A 60E8 bra -0x16 /* 000043F4 */
label0000440C:
0000440C 265F movea.l A3, [A7]+
0000440E 4E75 rts
fn00004410:
00004410 594F subq.w A7, 4
00004412 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00004418 3F2F 000E move.w -[A7], [A7 + 0xE]
0000441C A9A0 syscall GetResource
0000441E 226F 000C movea.l A1, [A7 + 0xC]
00004422 4211 clr.b [A1]
00004424 201F move.l D0, [A7]+
00004426 6720 beq +0x22 /* 00004448 */
00004428 2040 movea.l A0, D0
0000442A 2050 movea.l A0, [A0]
0000442C 3018 move.w D0, [A0]+
0000442E 322F 0004 move.w D1, [A7 + 0x4]
00004432 B240 cmp.w D1, D0
00004434 6E12 bgt +0x14 /* 00004448 */
00004436 7000 moveq.l D0, 0x00
label00004438:
00004438 5341 subq.w D1, 1
0000443A 6706 beq +0x8 /* 00004442 */
0000443C 1018 move.b D0, [A0]+
0000443E D1C0 add.l A0, D0
00004440 60F6 bra -0x8 /* 00004438 */
label00004442:
00004442 1010 move.b D0, [A0]
00004444 5240 addq.w D0, 1
00004446 A02E syscall BlockMove/BlockMoveData
label00004448:
00004448 205F movea.l A0, [A7]+
0000444A 504F addq.w A7, 8
0000444C 4ED0 jmp [A0]
fn0000444E:
0000444E 206F 0004 movea.l A0, [A7 + 0x4]
00004452 2248 movea.l A1, A0
00004454 2008 move.l D0, A0
00004456 4241 clr.w D1
00004458 1219 move.b D1, [A1]+
0000445A 6002 bra +0x4 /* 0000445E */
label0000445C:
0000445C 10D9 move.b [A0]+, [A1]+
label0000445E:
0000445E 51C9 FFFC dbf D1, -0x6 /* 0000445C */
00004462 4210 clr.b [A0]
00004464 4E75 rts
fn00004466:
00004466 4278 0A9A clr.w [0x00000A9A /* ACount */]
0000446A 4E75 rts
fn0000446C:
0000446C 31EF 0004 0144 move.w [0x00000144 /* SysEvtMask */], [A7 + 0x4]
00004472 4E75 rts